diff --git a/coreapi/misc.c b/coreapi/misc.c index 7db9518e1..0ab5a04fa 100644 --- a/coreapi/misc.c +++ b/coreapi/misc.c @@ -685,6 +685,11 @@ int linphone_core_gather_ice_candidates(LinphoneCore *lc, LinphoneCall *call){ /* Gather local srflx candidates. */ ice_session_gather_candidates(call->ice_session, ai->ai_addr, (socklen_t)ai->ai_addrlen); return 1; + } else { + ms_message("ICE: bypass candidates gathering"); + ice_session_compute_candidates_foundations(call->ice_session); + ice_session_eliminate_redundant_candidates(call->ice_session); + ice_session_choose_default_candidates(call->ice_session); } return 0; } diff --git a/tester/call_tester.c b/tester/call_tester.c index ffbbb82fb..0bca22308 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -6032,7 +6032,6 @@ static void call_with_ice_with_default_candidate_not_stun(void){ } static void call_with_ice_without_stun(void){ -#if GHISLAIN_CAN_MAKE_THIS_TEST_TO_WORK LinphoneCoreManager * marie = linphone_core_manager_new( "marie_rc"); LinphoneCoreManager *pauline = linphone_core_manager_new(transport_supported(LinphoneTransportTls) ? "pauline_rc" : "pauline_tcp_rc"); @@ -6042,7 +6041,6 @@ static void call_with_ice_without_stun(void){ linphone_core_manager_destroy(marie); linphone_core_manager_destroy(pauline); -#endif } static void call_with_zrtp_configured_calling_side(void) {