Commit e594edfe authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Compute ICE foundations and choose default candidates when ICE candidate gathering is finished.

parent 1d3aab59
......@@ -668,6 +668,9 @@ void linphone_core_gather_ice_candidates(LinphoneCore *lc, LinphoneCall *call)
} while (!((audio_responses[0] == TRUE) && (audio_responses[1] == TRUE)
&& (!params->has_video || ((video_responses[0] == TRUE) && (video_responses[1] == TRUE)))));
ice_session_compute_candidates_foundations(call->ice_session);
ice_session_choose_default_candidates(call->ice_session);
close_socket(audio_socks[0]);
close_socket(audio_socks[1]);
ice_dump_candidates(call->localdesc->streams[0].ice_check_list);
......
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