Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
e095830b
Commit
e095830b
authored
Aug 31, 2017
by
Simon Morlat
Browse files
Fix : don't trigger legacy stun tests when ICE is enabled
parent
42af41d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
coreapi/linphonecall.c
coreapi/linphonecall.c
+2
-1
No files found.
coreapi/linphonecall.c
View file @
e095830b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment