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

ICE working without stun server.

parent d72dfb91
......@@ -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;
}
......
......@@ -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) {
......
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