Commit 66cf0b62 authored by Ghislain MARY's avatar Ghislain MARY

Perform an ICE reset instead of an ICE restart when recovering from a...

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).
parent 406be407
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment