mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
Set the state of an ICE check list to Failed if an ice-mismatch attribute is received for it.
This commit is contained in:
parent
72360e58a5
commit
3c3051a0be
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue