mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Add log when we cannot find the selected valid ICE pair in the case where it should be there (retrofit of commit 452234d4).
This commit is contained in:
parent
13a398462c
commit
5e98347b31
1 changed files with 4 additions and 2 deletions
|
|
@ -317,10 +317,12 @@ void IceAgent::updateLocalMediaDescriptionFromIce (SalMediaDescription *desc) {
|
|||
}
|
||||
if (firstCl)
|
||||
result = !!ice_check_list_selected_valid_local_candidate(firstCl, &rtpCandidate, nullptr);
|
||||
if (result)
|
||||
if (result) {
|
||||
strncpy(desc->addr, rtpCandidate->taddr.ip, sizeof(desc->addr));
|
||||
else
|
||||
} else {
|
||||
lWarning() << "If ICE has completed successfully, rtp_candidate should be set!";
|
||||
ice_dump_valid_list(firstCl);
|
||||
}
|
||||
}
|
||||
|
||||
strncpy(desc->ice_pwd, ice_session_local_pwd(iceSession), sizeof(desc->ice_pwd));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue