mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
Fix : don't trigger legacy stun tests when ICE is enabled
This commit is contained in:
parent
1c2b5ab29c
commit
d0ad8713cd
1 changed files with 2 additions and 1 deletions
|
|
@ -1362,7 +1362,8 @@ LinphoneCall * linphone_call_new_outgoing(struct _LinphoneCore *lc, LinphoneAddr
|
|||
|
||||
linphone_call_check_ice_session(call, IR_Controlling, FALSE);
|
||||
|
||||
if (linphone_nat_policy_ice_enabled(call->nat_policy)) {
|
||||
if (linphone_nat_policy_stun_enabled(call->nat_policy) && !(linphone_nat_policy_ice_enabled(call->nat_policy)
|
||||
|| linphone_nat_policy_turn_enabled(call->nat_policy))) {
|
||||
call->ping_time=linphone_core_run_stun_tests(call->core,call);
|
||||
}
|
||||
#ifdef BUILD_UPNP
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue