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

This commit is contained in:
Ghislain MARY 2012-07-27 16:02:31 +02:00
parent 72360e58a5
commit 3c3051a0be

View file

@ -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)) {