Skip to content

Commit

Permalink
Fix deadlock on janus_videoroom_rtp_forwarder_rtcp_receive
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Malaev committed Oct 29, 2024
1 parent 47f8f4d commit 148f08e
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 @@ -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;
}
Expand Down

0 comments on commit 148f08e

Please sign in to comment.