Commit 4e7aa3c6 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Set the state of an ICE check list to Failed if the peer has set the port of the media stream to 0.

parent 1f9a43a8
......@@ -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'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment