mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 12:40:05 +00:00
video_rxtx/h264_rtp.cpp: deleteStream msg not proc
Fixed deleteStream message not being processed if the client doesn't properly issue TEARDOWN on `Medium::close(instance->rtspServer);`. (see also previous 2 commits)
This commit is contained in:
@@ -185,8 +185,9 @@ void *video_rxtx::sender_loop() {
|
||||
shared_ptr<video_frame> tx_frame;
|
||||
|
||||
tx_frame = compress_pop(m_compression);
|
||||
if (!tx_frame)
|
||||
goto exit;
|
||||
if (!tx_frame) {
|
||||
break;
|
||||
}
|
||||
|
||||
export_video(m_exporter, tx_frame.get());
|
||||
|
||||
@@ -194,7 +195,7 @@ void *video_rxtx::sender_loop() {
|
||||
m_frames_sent += 1;
|
||||
}
|
||||
|
||||
exit:
|
||||
check_sender_messages();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -110,8 +110,8 @@ h264_rtp_video_rxtx::~h264_rtp_video_rxtx()
|
||||
|
||||
void h264_rtp_video_rxtx::join()
|
||||
{
|
||||
video_rxtx::join();
|
||||
c_stop_server(m_rtsp_server);
|
||||
video_rxtx::join();
|
||||
}
|
||||
|
||||
static void rtps_server_usage(){
|
||||
|
||||
Reference in New Issue
Block a user