Selection of tracks for recording in VideoRoom plugin

Dear all,

I would like to ask about the possibility of recording selected tracks of users inside the video room plugin

For example:
There are 10 users (video and audio), one of them upper echelon (video, audio and screenshare) screenshare tab with video conference, for this reason I don’t need to record video of users because their video is included in screenshare. I would like to record only audio of session participants and screenshare from upper echelon. Is this possible? I only need audio due to the fact that I don’t want to save on disk such amounts of data from tracks that are not needed.

Best,
Luke

That’s a fair requirement, but unfortunately at the moment the VideoRoom plugin only has a global on/off recording switch when it comes to participants: you either record all the streams of a participant, or you record none of them. I agree it makes sense to have finer control in that sense, but that will require a dedicated API, and so a non trivial change, which means we won’t work on it soon.

Is it then possible to continue to use VideoRoom plugin to run sessions, but handle the recording part with Record&Play plugin? If so, what steps should I take? I understand that I will need another handler for the Record&Play plugin. Can these plugins work with each other?

No, plugins don’t interact with each other: Record&Play is just using the same exact foundation the VideoRoom plugin uses for recording. What you can do is recording externally, though: you can, e.g., RTP-forward only the media you want to record to an external application, and record it there.

Thank you for the explanation, I will work with what is there :slight_smile:

You could also RTP forward to a Janus streaming mountpoint and use the recording API on that.