From 148f08e2f707357337090c70cce0cebb03272230 Mon Sep 17 00:00:00 2001 From: Alexander Malaev Date: Tue, 29 Oct 2024 13:25:54 +0300 Subject: [PATCH] Fix deadlock on janus_videoroom_rtp_forwarder_rtcp_receive --- src/plugins/janus_videoroom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/janus_videoroom.c b/src/plugins/janus_videoroom.c index 98d3793d1d..e6d283feb7 100644 --- a/src/plugins/janus_videoroom.c +++ b/src/plugins/janus_videoroom.c @@ -13270,6 +13270,7 @@ static void janus_videoroom_rtp_forwarder_rtcp_receive(janus_rtp_forwarder *rf, janus_mutex_lock(&p->streams_mutex); janus_mutex_lock(&p->rtp_forwarders_mutex); if(g_hash_table_size(p->rtp_forwarders) == 0) { + janus_mutex_unlock(&p->streams_mutex); janus_mutex_unlock(&p->rtp_forwarders_mutex); return; }