Commit ff747c0b authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix RTP streams route printing.

parent 94803e30
......@@ -832,7 +832,10 @@ void audio_stream_stop(AudioStream * stream)
ms_ticker_detach(stream->ticker,stream->soundread);
ms_ticker_detach(stream->ticker,stream->rtprecv);
if (stream->ice_check_list != NULL) ice_check_list_print_route(stream->ice_check_list, "Audio session's route");
if (stream->ice_check_list != NULL) {
ice_check_list_print_route(stream->ice_check_list, "Audio session's route");
stream->ice_check_list = NULL;
}
rtp_stats_display(rtp_session_get_stats(stream->session),"Audio session's RTP statistics");
/*dismantle the outgoing graph*/
......
......@@ -625,7 +625,10 @@ video_stream_stop (VideoStream * stream)
if (stream->rtprecv)
ms_ticker_detach(stream->ticker,stream->rtprecv);
if (stream->ice_check_list != NULL) ice_check_list_print_route(stream->ice_check_list, "Video session's route");
if (stream->ice_check_list != NULL) {
ice_check_list_print_route(stream->ice_check_list, "Video session's route");
stream->ice_check_list = NULL;
}
rtp_stats_display(rtp_session_get_stats(stream->session),"Video session's RTP statistics");
if (stream->source){
......
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