integration of g722 codec

This commit is contained in:
Simon Morlat 2010-08-25 15:22:14 +02:00
parent 1e15e24d8d
commit 51147aee3c
3 changed files with 4 additions and 4 deletions

View file

@ -30,8 +30,8 @@ static PayloadType * find_payload_type_best_match(const MSList *l, const Payload
for (elem=l;elem!=NULL;elem=elem->next){
pt=(PayloadType*)elem->data;
/* the compare between G729 and G729A is for some stupid uncompliant phone*/
if (strcasecmp(pt->mime_type,refpt->mime_type)==0 ||
((strcasecmp(pt->mime_type, "G729") == 0 && strcasecmp(refpt->mime_type, "G729A") == 0 ))
if ( (strcasecmp(pt->mime_type,refpt->mime_type)==0 ||
(strcasecmp(pt->mime_type, "G729") == 0 && strcasecmp(refpt->mime_type, "G729A") == 0 ))
&& pt->clock_rate==refpt->clock_rate){
candidate=pt;
/*good candidate, check fmtp for H264 */

@ -1 +1 @@
Subproject commit 6cc9076b9cc4d6b88e7a0b93e6abdd1ad881e832
Subproject commit 030250c162f546af5b1c2b97e51a71d81a73679b

2
oRTP

@ -1 +1 @@
Subproject commit d2a8cb0890c7547703a092c839c55db10449ef92
Subproject commit 6bc540160a8729f63f6074b958161bc696e78f93