From 51fe38a452e10b2c767390ba9b9300bf4b2fc501 Mon Sep 17 00:00:00 2001 From: Alexander Malaev Date: Tue, 29 Oct 2024 13:46:32 +0300 Subject: [PATCH] Fix deadlock on janus_videoroom_rtp_forwarder_rtcp_receive (#3469) Co-authored-by: Alexander Malaev --- 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..0e3400d1b0 100644 --- a/src/plugins/janus_videoroom.c +++ b/src/plugins/janus_videoroom.c @@ -13271,6 +13271,7 @@ static void janus_videoroom_rtp_forwarder_rtcp_receive(janus_rtp_forwarder *rf, janus_mutex_lock(&p->rtp_forwarders_mutex); if(g_hash_table_size(p->rtp_forwarders) == 0) { janus_mutex_unlock(&p->rtp_forwarders_mutex); + janus_mutex_unlock(&p->streams_mutex); return; } gboolean found = FALSE;