avstack / gst-meet

Connect GStreamer pipelines to Jitsi Meet conferences
Apache License 2.0
68 stars 25 forks source link

How to record screen sharing video #102

Open IOXusu opened 6 months ago

IOXusu commented 6 months ago

Help! In practical use, I found that gst-meet can only record user webcam videos and cannot record screen sharing videos. How should I handle this?

dipak140 commented 4 months ago

I am not totally sure, but currently gst-meet only supports two participants, and if you look closely, the source is added only when a participant joins. Since screen sharing is basically the same participant but adding a track, you will have to tweak it accordingly.

jbg commented 4 months ago

Now that Jitsi supports multi-stream, the screen share is being ignored because we only look at the first track of the participant. I implemented the first step towards resolving this yesterday, in that we now signal source name & type and use the correct msid format for multi-stream. But supporting multiple streams per participant will require some more changes — PRs are welcome or I will get to it when I have time. I'll keep this issue open to track progress.