Skip to content

Commit

Permalink
Initialize VideoRoom participant recording state when room recording …
Browse files Browse the repository at this point in the history
…is active (fixes meetecho#2550)
  • Loading branch information
lminiero committed Feb 8, 2021
1 parent 0ba74fb commit 576abf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -7521,6 +7521,7 @@ static void *janus_videoroom_handler(void *data) {
/* Is this room recorded, or are we recording this publisher already? */
janus_mutex_lock(&participant->rec_mutex);
if(videoroom->record || participant->recording_active) {
participant->recording_active = TRUE;
janus_videoroom_recorder_create(participant, participant->audio, participant->video, participant->data);
}
janus_mutex_unlock(&participant->rec_mutex);
Expand Down

0 comments on commit 576abf5

Please sign in to comment.