]> sjero.net Git - linphone/commitdiff
Compute ICE foundations and choose default candidates when ICE candidate gathering...
authorGhislain MARY <ghislain.mary@belledonne-communications.com>
Tue, 17 Jul 2012 15:14:47 +0000 (17:14 +0200)
committerGhislain MARY <ghislain.mary@belledonne-communications.com>
Thu, 19 Jul 2012 13:03:27 +0000 (15:03 +0200)
coreapi/misc.c

index 36424f5665967d93bd6b29aa77255fa7b36026d9..64b6df71a8edae1528bb68123e421cd97140030f 100644 (file)
@@ -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);