Janus as a webrtc proxy

207 views
Skip to first unread message

Markus Pröller

unread,
Mar 7, 2022, 2:59:33 AM3/7/22
to meetecho-janus
Hi,

I want to implement ascenario, where multiple vehicles act like a server which deliver a webrtc stream. Server mean, they expose a public port where you can connect to (with credentials) and than receive a webrtc videostream.
Due to the limited bandwidth of these devices, we cannot implement a peer-to-peer connection between the vehicles and the enddevices, but need a "proxy" server between them, like shown below:


vehicle(s)  <-- single connection -- janus cloud   <-- multi connection -- end device (browser)
[webrtc]                              [webrtc]                             [webrtc]


We came up with janus and want to use it, but I'm not sure on how to start. I looked at the echo and streaming plugin for a starting point.

If I understand correctly, than I need to do the following steps:
 - implement the connection establishment between janus and the vehicles on my own using a third party webrtc client library?
 - implement some kind of layer to administer the streams (we expect a lot of streams, and want to expose a single server port to the enddevices, thus we need some kind of URL logic to connect to the streams).
 
Is that correct? Is there already any plugin which comes close to this scenario?

Thanks,

Markus

sergey radionov

unread,
Mar 7, 2022, 8:54:42 PM3/7/22
to meetecho-janus
Hello
Some time ago I've implemented Proof-Of-Concept of streamer to Janus Videoroom based on GStreamer. I'm not sure how well it will be suitable for your case but anyway:
Binaries: https://snapcraft.io/janus-videoroom-streamer
Sources: https://github.com/RSATom/JanusVideoroomStreamer
Reply all
Reply to author
Forward
0 new messages