Pausing specific media in multistream?

Hi all, I’m using a slightly modified streaming demo to show 5 live camera views for my a university mars rover project. Because bandwidth is really limited I would love the option to send “start” and “pause” messages to specific media elements and not the whole mountpoint so I could run with a minimal set of cameras. I can’t just pause or hide the video element in HTML because the data still gets sent over my wireless link. Any help?

You can use the configure request to ask Janus to selectively and dynamically pause/resume the delivery of specific streams. The watch request has a similar way to only subscribe to a subset of the available streams, rather than them all. Of course both are per PeerConnection (so per viewer), not global to all viewers: that would need a separate API that doesn’t exist at the moment.

More info on comfigure in the documentation