mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Perform an ICE reset instead of an ICE restart when recovering from a connection loss (it has the effect to also clear the previous local candidates).
This commit is contained in:
parent
406be4079b
commit
66cf0b624c
1 changed files with 1 additions and 1 deletions
|
|
@ -5689,7 +5689,7 @@ void linphone_call_reinvite_to_recover_from_connection_loss(LinphoneCall *call)
|
|||
LinphoneCallParams *params;
|
||||
ms_message("LinphoneCall[%p] is going to be updated (reINVITE) in order to recover from lost connectivity", call);
|
||||
if (call->ice_session){
|
||||
ice_session_restart(call->ice_session, IR_Controlling);
|
||||
ice_session_reset(call->ice_session, IR_Controlling);
|
||||
}
|
||||
params = linphone_core_create_call_params(call->core, call);
|
||||
linphone_core_update_call(call->core, call, params);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue