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
c3894e57
Commit
c3894e57
authored
Oct 04, 2012
by
Ghislain MARY
Browse files
Handle ICE running state in call statistics update.
parent
b09cb1da
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/misc.c
View file @
c3894e57
...
...
@@ -689,6 +689,11 @@ void linphone_core_update_ice_state_in_call_stats(LinphoneCall *call)
call
->
stats
[
LINPHONE_CALL_STATS_VIDEO
].
ice_state
=
LinphoneIceStateFailed
;
}
}
}
else
if
(
session_state
==
IS_Running
)
{
call
->
stats
[
LINPHONE_CALL_STATS_AUDIO
].
ice_state
=
LinphoneIceStateInProgress
;
if
(
call
->
params
.
has_video
&&
(
video_check_list
!=
NULL
))
{
call
->
stats
[
LINPHONE_CALL_STATS_VIDEO
].
ice_state
=
LinphoneIceStateInProgress
;
}
}
else
{
call
->
stats
[
LINPHONE_CALL_STATS_AUDIO
].
ice_state
=
LinphoneIceStateFailed
;
if
(
call
->
params
.
has_video
&&
(
video_check_list
!=
NULL
))
{
...
...
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