mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 13:48:09 +00:00
Take the payload type number into account when comparing to media stream payload types.
This commit is contained in:
parent
69ea55ba34
commit
89f457bdb3
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ static bool_t payload_type_equals(const PayloadType *p1, const PayloadType *p2){
|
|||
if (strcmp(p1->mime_type,p2->mime_type)!=0) return FALSE;
|
||||
if (p1->clock_rate!=p2->clock_rate) return FALSE;
|
||||
if (p1->channels!=p2->channels) return FALSE;
|
||||
if (payload_type_get_number(p1) != payload_type_get_number(p2)) return FALSE;
|
||||
/*
|
||||
Do not compare fmtp right now: they are modified internally when the call is started
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue