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
afe90f2b
Commit
afe90f2b
authored
Jul 18, 2012
by
Ghislain MARY
Browse files
Create ICE session when receiving an incoming call if this is necessary.
parent
f8f3db35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
coreapi/linphonecall.c
coreapi/linphonecall.c
+1
-0
No files found.
coreapi/linphonecall.c
View file @
afe90f2b
...
...
@@ -388,6 +388,7 @@ LinphoneCall * linphone_call_new_incoming(LinphoneCore *lc, LinphoneAddress *fro
linphone_call_init_common
(
call
,
from
,
to
);
linphone_core_init_default_params
(
lc
,
&
call
->
params
);
call
->
params
.
has_video
&=
!!
lc
->
video_policy
.
automatically_accept
;
if
(
linphone_core_get_firewall_policy
(
call
->
core
)
==
LinphonePolicyUseIce
)
call
->
ice_session
=
ice_session_new
();
call
->
localdesc
=
create_local_media_description
(
lc
,
call
);
call
->
camera_active
=
call
->
params
.
has_video
;
if
(
linphone_core_get_firewall_policy
(
call
->
core
)
==
LinphonePolicyUseStun
)
...
...
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