This content was created by Tsahi Levent-Levi. This content was uploaded by Tsahi Levent-Levi. This is a YouTube video titled "List the ways you can use to record a WebRTC session" created on June 22, 2024. It features a technical discussion between Speaker A and Filip about various methods for recording WebRTC sessions, including local recording, server-side recording, and using headless browsers for remote recording.
Chapters
Time for another question. List the ways you can use to record a WebRTC session. There's more than one way in which we can record sessions in WebRTC. What are these alternatives that we have? Filip?
So the first thing we can do is basically using Media Recorder to do a local recording, which is simple. It is what you see is what you get. So it is something that people often pick. Also, it does require any infrastructure. Then we have recording on the server using separate streams and then mixing it after the fact. With, for example, FFmpeg, we have remote and having a participant using a headless Chrome join and records the screen of that, which is what you see is what you get from the remote perspective. We have the remote recording, but you only show a single person's active speaker. So you have speaker switching. Or you use a tool like GStreamer to record remotely and mix on the fly.
Okay, now I think if we look at local recording, that's the one that is, I wouldn't say the least common. But for large group sessions or for things that you want ubiquity, you won't use that because the moment someone closes the tab, the recording is gone.
Yes.
Then on the ones that are doing mixing, the ones that uses headless browser is likely the most common one because it's the easiest, it's the most flexible one in terms of what you're getting. You can play with the CSS and HTML to get exactly what you want to be displayed there. So it's not only video, it's everything else around that. And it's likely the easiest to implement. Again, not the easiest, but the easiest for getting to that level of user experience. For the recording, I guess, yes.
Also, you pick up any changes to the design automatically.