OPUS/VP8 Live Stream Coming from Remote UDP

494 views
Skip to first unread message

Wu-bin Zhen

unread,
Dec 22, 2014, 3:46:31 PM12/22/14
to meetech...@googlegroups.com
Hello,

I was able to stream the live stream from gstreamer/ffmpeg RTP/UDP stream, but the from the architecture it seems like gstreamer/ffmpeg RTP/UDP and Janus Gateway have to be on the same machine.

From the streaming plugin file, it says that the RTP UDP port is "local" port:
; videoport = local port for receiving video frames (only for rtp)

So my question is: is there a way to make Janus to access RTP stream from a remote machine? There are two cases where remote UDP might be needed:
1) Janus Gateway can't be installed on the live source
2) Grabs RTP/UDP streams from IP cameras/encoders directly (assuming h264/aac streams will be supported in the future)

Any advise will be appreciated.
-w

Lorenzo Miniero

unread,
Dec 22, 2014, 4:04:01 PM12/22/14
to Wu-bin Zhen, meetech...@googlegroups.com
Of course you can. The port you specify is the port the plugin binds to, the plugin then doesn't care what the source is. If you want to stream from another machine, just pass that port and the host of the machine where Janus is to the external streaming application. 

L.

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wu-bin Zhen

unread,
Dec 22, 2014, 4:52:24 PM12/22/14
to meetech...@googlegroups.com, vvu...@gmail.com
Thanks for the reply. Before I wrote this question, I had sent the stream from the live source to Janus but nothing showed up, so I thought remote RTP/UDP was not working.

Now I see your reply and try it again, realized that the initialization time takes pretty long sometimes (5-20 secs). I just did not have enough patience to wait for it.

So it works great once the initialization is finished. Thank you so much for your hard work!

-w
Reply all
Reply to author
Forward
0 new messages