Commit 2d3d9754 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix wrong stream index in stop_text_stream

parent 68c49f0e
......@@ -3721,7 +3721,7 @@ static void linphone_call_stop_text_stream(LinphoneCall *call) {
update_rtp_stats(call, call->main_text_stream_index);
text_stream_stop(call->textstream);
call->textstream = NULL;
linphone_call_handle_stream_events(call, call->main_video_stream_index);
linphone_call_handle_stream_events(call, call->main_text_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);
ortp_ev_queue_destroy(call->textstream_app_evq);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment