Skip to content

Commit

Permalink
Fix wrong packet pointer from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Apr 10, 2024
1 parent 6f5d3ea commit 3639a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -8531,7 +8531,7 @@ static void janus_videoroom_incoming_data_internal(janus_videoroom_session *sess
pkt.textdata = !packet->binary;
janus_mutex_lock_nodebug(&ps->subscribers_mutex);
if(participant->room->helper_threads > 0) {
g_list_foreach(participant->room->threads, janus_videoroom_helper_rtpdata_packet, &packet);
g_list_foreach(participant->room->threads, janus_videoroom_helper_rtpdata_packet, &pkt);
} else {
g_slist_foreach(ps->subscribers, janus_videoroom_relay_data_packet, &pkt);
}
Expand Down

0 comments on commit 3639a0e

Please sign in to comment.