Commit 3c3051a0 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Set the state of an ICE check list to Failed if an ice-mismatch attribute is received for it.

parent 72360e58
......@@ -652,6 +652,8 @@ int sdp_to_media_description(sdp_message_t *msg, SalMediaDescription *desc, IceS
ice_ufrag = attr->a_att_value;
} else if ((keywordcmp("ice-pwd", attr->a_att_field) == 0) && (attr->a_att_value != NULL)) {
ice_pwd = attr->a_att_value;
} else if (keywordcmp("ice-mismatch", attr->a_att_field) == 0) {
ice_check_list_set_state(ice_session_check_list(*ice_session, i), ICL_Failed);
}
}
if ((*ice_session != NULL) && ice_session_check_list(*ice_session, i)) {
......
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