mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
Set the state of an ICE check list to Failed if the peer has set the port of the media stream to 0.
This commit is contained in:
parent
1f9a43a8e8
commit
4e7aa3c6c6
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ void linphone_core_update_ice_from_remote_media_description(LinphoneCall *call,
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (stream->ice_mismatch == TRUE) {
|
||||
if ((stream->ice_mismatch == TRUE) || (stream->rtp_port == 0)) {
|
||||
ice_check_list_set_state(cl, ICL_Failed);
|
||||
} else {
|
||||
if ((stream->ice_pwd[0] != '\0') && (stream->ice_ufrag[0] != '\0'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue