Does WebRTC support RTSP now

3,688 views
Skip to first unread message

Zhihong GUO

unread,
Nov 4, 2012, 10:35:47 PM11/4/12
to discuss...@googlegroups.com
Dear all,
 
Who can give a clear answer that does WebRTC support RTSP now? If the anwser is NO, is there a roadmap for Android version?
 
Thanks,
 
James

Harald Alvestrand

unread,
Nov 5, 2012, 5:22:45 AM11/5/12
to discuss...@googlegroups.com
The answer is NO, and there is no plan to support it.

RTSP is not part of the IETF standards for WebRTC.

--
 
 
 

Zhihong GUO

unread,
Nov 9, 2012, 2:44:31 AM11/9/12
to discuss...@googlegroups.com
Thanks HA. But to build product from WebRTC, the RTSP seems to be a necessary component. Do you have any suggestions about how to solve the requirement? For example, is there any open source component ready? or an ongoing project?

BR

James

Lorenzo Miniero

unread,
Nov 9, 2012, 9:42:04 AM11/9/12
to discuss...@googlegroups.com
Zhihong,

you can probably still re-use your RTSP infrastructure if you add some gateway to it, and add the missing bricks to make it accessible from WebRTC endpoints as well. It still is SDP+RTP after all ;-)

Lorenzo

PhistucK

unread,
Nov 9, 2012, 9:44:10 AM11/9/12
to discuss...@googlegroups.com
Is it possible that you meant SRTP instead of RTSP?
SRTP is supported.

PhistucK



--
 
 
 

ALTANAI BISHT

unread,
Jan 19, 2015, 11:14:02 PM1/19/15
to discuss...@googlegroups.com
RTSP is the network level protocol for streaming whereas SRTP is the secure profile of RTP which means authentication , encryption etc . As you can see these are two vastly different things . Yes WebRTC supports SRTP not RTSP . 

To obtain RTSP behaviour you need to biuld your own socket logic for capturing streams  and add a streaming  media server . 

Tirolock

unread,
Nov 4, 2018, 1:59:24 AM11/4/18
to discuss-webrtc
Is the answer still NO?

Did anyone implemented RTSP to WebRTC?

I can't find anything about the subject...

Alexandre GOUAILLARD

unread,
Nov 4, 2018, 4:56:03 AM11/4/18
to discuss...@googlegroups.com
On Sun, Nov 4, 2018 at 1:59 PM Tirolock <patat...@gmail.com> wrote:
Is the answer still NO?

yes, it is still 'NO'. 

Did anyone implemented RTSP to WebRTC?

No, but you can pipe the underlying RTP layer through if you first terminate the webrtc'SRTP's DTLS and ICE. This is what the Janus server do in some cases. 



I can't find anything about the subject...

janus is on the top of the results with webrtc and RTSP search keywords .....
 

On Sunday, November 4, 2012 at 10:35:47 PM UTC-5, Zhihong GUO wrote:
Dear all,
 
Who can give a clear answer that does WebRTC support RTSP now? If the anwser is NO, is there a roadmap for Android version?
 
Thanks,
 
James

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/5387f5cc-58ab-4d3e-b0ca-e145eb766565%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------

Sushant Mongia

unread,
Dec 18, 2019, 7:12:11 AM12/18/19
to discuss-webrtc
All,

For others that end up here in desperate need of ideas, there is an interesting way that I found out to do RTSP<---> WebRTC. So on linux you can create dummy ports eg: /dev/myDummyVideoPorts0001 by running v4l2 and then restream(re-encode) the rtsp stream via ffmpeg. Now I'm not saying this is the perfect method, but incase you want to use it for some project or something small.
Note: This flips the camera horizontally and also adds a second or so of delay.

Essentially here's what I did


git clone https://github.com/umlaeute/v4l2loopback.git

cd v4l2loopback/

ls

sudo make

sudo make install

v4l2-ctl --list-devices                        ### Remove these comment - This step will give you some errors

sudo modprobe v4l2loopback exclusive_caps=1 ### You still see errors here but keep on going

make modprobe

sudo modprobe v4l2loopback exclusive_caps=1 ### You’ll still see some errors, but you’re good to go, (trust me :D)

v4l2-ctl --list-devices                        ### You’ll see new dummy ports


Hoping you've compiled ffmpeg to work with v4l2: 


ffmpeg -re -i "rtsp://<IPAddr>:<Port>/anyAuth/videopath" -f v4l2 /dev/yourDummyVideoPort


Do not take this as an enterprise solution, if you're able to tweak it or have some better enterprise grade solution please do share! 
PS Hope this doesn't end up as a method to circumvent the security procedures implemented around getUserMedia() to fetch streams off /dev ports. Please let me know if that is the case!

Cheers
Sushant Mongia




On Sunday, November 4, 2012 at 10:35:47 PM UTC-5, Zhihong GUO wrote:
Reply all
Reply to author
Forward
0 new messages