mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Clean ICE remote candidates in the media description when sending re-invite after an ICE restart.
This commit is contained in:
parent
8c02cac390
commit
c7b3b58145
1 changed files with 5 additions and 0 deletions
|
|
@ -795,6 +795,11 @@ void linphone_core_update_local_media_description_from_ice(SalMediaDescription *
|
|||
} else {
|
||||
ms_error("ice: Selected valid remote candidates should be present if the check list is in the Completed state");
|
||||
}
|
||||
} else {
|
||||
for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) {
|
||||
stream->ice_remote_candidates[j].addr[0] = '\0';
|
||||
stream->ice_remote_candidates[j].port = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue