WebRTC stream to Streaming plugin

Hi,

Is it possible to publish a WebRTC JavaScript MediaStream to the Streaming plugin?
We currently are using VideoRoom’s to publish and watch streams from 1 to many, but the Streaming plugin is more optimized.

Kind regards,
Jesse de Wild

Use RTP forwarders to redirect a stream published in the VideoRoom to the Streaming plugin. Please refer to the docs for more details.

Can you please link the correct docs for me please?

So in order to stream my WebRTC stream to the streaming plugin, I both need a VIdeoRoom and the Streaming plugin?

What is the most ideal way of streaming one-to-many with WebRTC and MediaStreamTrack’s as media? Because I saw when creating a Streaming room, you need to specify a unique port for each different one.

Look for rtp_forward here.

I don’t know what you mean by MediaStreamTrack in this context. The Streaming plugin always expects RTP from somewhere: whether it is a FFmpeg/GStreamer script, or the VideoRoom plugin via RTP forwarders, or something else, it must be RTP. The VideoRoom is how you do ingestion from WebRTC, and turn it into the RTP that the Streaming plugin wants.

I got the RTP forwarding working, thanks!

What is the ideal situation for having a one-to-many streaming solution?
We want to be able to let the user create their own stream/room.
Right now we only use the VideoRoom alone, but we want to switch over to the Streaming plugin.
We have around from around 1000 to 5000 different streams each day, which we are currently doing via VideoRooms.