RTSP to WEBRTC live video streaming
18,503
Solution 1
I don't think you will be able to do this with just your browser. You will need some sort of media gateway.
RTSPtoWebRTC is an active project that does exactly what you want! It is written in Go and uses Pion WebRTC
Solution 2
Need to use a Media Gateway for converting the RTSP/RTP protocol to WEBRTC specific RTP protocol.
Media Gateway option - janus-gateway
Check the link and create the your setup accordingly - meetecho-janus.
Author by
Admin
Updated on June 08, 2022Comments
-
Admin almost 2 years
I've RTSP stream of an IP cam on my local network. I would like to stream that using webrtc over the internet. How to do it? Can it be done by JavaScript Library like peerjs or easywebrt or simplewebrtc. If yes then, is there any demo or example available for reference?
-
Admin almost 4 yearsI have pc but is there any other way to do this without using any third party software inorder to access rtsp stream from IP cam ?
-
kenji tanaka almost 4 yearsWebRTC's Media Channel needs to connect with the DTLS-RTSP protocol, so I think that it will be necessary to add a server or some means for protocol conversion.