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
a2ba8b72
Commit
a2ba8b72
authored
Apr 04, 2016
by
Sylvain Berfini
🐮
Browse files
Fix crash with RTT/ICE when network goes down/up again while in call
parent
0b69dbaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coreapi/linphonecall.c
coreapi/linphonecall.c
+2
-2
No files found.
coreapi/linphonecall.c
View file @
a2ba8b72
...
...
@@ -2268,7 +2268,7 @@ int linphone_call_prepare_ice(LinphoneCall *call, bool_t incoming_offer){
video_stream_prepare_video
(
call
->
videostream
);
}
#endif
if
(
call
->
params
->
realtimetext_enabled
)
{
if
(
call
->
params
->
realtimetext_enabled
&&
call
->
textstream
->
ms
.
state
==
MSStreamInitialized
)
{
text_stream_prepare_text
(
call
->
textstream
);
}
...
...
@@ -3718,9 +3718,9 @@ static void linphone_call_stop_text_stream(LinphoneCall *call) {
linphone_reporting_update_media_info
(
call
,
LINPHONE_CALL_STATS_TEXT
);
media_stream_reclaim_sessions
(
&
call
->
textstream
->
ms
,
&
call
->
sessions
[
call
->
main_text_stream_index
]);
linphone_call_log_fill_stats
(
call
->
log
,
(
MediaStream
*
)
call
->
textstream
);
update_rtp_stats
(
call
,
call
->
main_text_stream_index
);
text_stream_stop
(
call
->
textstream
);
call
->
textstream
=
NULL
;
update_rtp_stats
(
call
,
call
->
main_text_stream_index
);
linphone_call_handle_stream_events
(
call
,
call
->
main_video_stream_index
);
rtp_session_unregister_event_queue
(
call
->
sessions
[
call
->
main_text_stream_index
].
rtp_session
,
call
->
textstream_app_evq
);
ortp_ev_queue_flush
(
call
->
textstream_app_evq
);
...
...
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