Does Janus support SRTP to WebRTC transmuxing?

398 views
Skip to first unread message

Bharat Khatri

unread,
Dec 19, 2016, 6:11:59 AM12/19/16
to meetech...@googlegroups.com
I have an H.264 video encoder that's capable of pushing SRTP. I want a video workflow where the SRTP from the encoder is transmuxed to WebRTC for web browsers. I've already tried transmuxing RTP to WebRTC with Janus and it works. Just wanted to know if the secure profile of RTP (SRTP) could be transmuxed to WebRTC or not.

Thanks

Bharat Khatri

Lorenzo Miniero

unread,
Dec 19, 2016, 6:15:59 AM12/19/16
to meetecho-janus
What do you mean by transmuxing? Which plugin?

L.

Dhananjay Sathe

unread,
Dec 20, 2016, 5:07:53 AM12/20/16
to meetecho-janus
I think what he is saying is similar to the streamign plugin that allows one to send an x264/vpx RTP streams, is there a provision to send encrypted SRTP streams. That could then be retransmitted as webrtc via janus ?

Lorenzo Miniero

unread,
Dec 20, 2016, 5:12:56 AM12/20/16
to meetecho-janus
The Streaming plugin only supports plain RTP. SRTP would not be possible without negotiation, which does not occur for the Streaming plugin: you just start sending packets to a known port and they're relayed (we do have it instead for the SIP plugin, for instance, as negotiation happens there for SIP). Besides, SRTP would break the ability to change source dynamically without changing the mountpoint, which is a useful feature.

If you want a secure transfer somehow, you'll have to implement an SRTP backend yourself, which then locally relays the RTP media to the Streaming plugin. As an alternative, use WebRTC to send to a VideoRoom, and have that publisher relayed to the Streaming plugin via RTP forwarding.

L.
Reply all
Reply to author
Forward
0 new messages