Skip to content

Commit

Permalink
Fix deadlock on janus_videoroom_rtp_forwarder_rtcp_receive (#3469)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Malaev <[email protected]>
  • Loading branch information
spscream and Alexander Malaev authored Oct 29, 2024
1 parent 47f8f4d commit 51fe38a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51fe38a

Please sign in to comment.