mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Fix number of media streams in 200 OK SDP.
This commit is contained in:
parent
6066dbc529
commit
ca3536d4e1
1 changed files with 2 additions and 1 deletions
|
|
@ -544,6 +544,8 @@ int sdp_to_media_description(sdp_message_t *msg, SalMediaDescription *desc, IceS
|
|||
ice_dump_candidates(ice_session_check_list(*ice_session, i));
|
||||
}
|
||||
}
|
||||
desc->nstreams=i;
|
||||
|
||||
/* Get ICE remote ufrag and remote pwd */
|
||||
ice_ufrag = ice_pwd = NULL;
|
||||
for (i = 0; (i < SAL_MEDIA_DESCRIPTION_MAX_MESSAGE_ATTRIBUTES) && ((attr = sdp_message_attribute_get(msg, -1, i)) != NULL); i++) {
|
||||
|
|
@ -568,6 +570,5 @@ int sdp_to_media_description(sdp_message_t *msg, SalMediaDescription *desc, IceS
|
|||
ice_dump_session(*ice_session);
|
||||
}
|
||||
}
|
||||
desc->nstreams=i;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue