Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stream RTSP live video in Firefox and Chrome now that the VLC plugin is not supported anymore?

Now that the NPAPI that the VLC plugin uses is being discontinued in Firefox and that Google Chrome has discontinued the NPAPI for long is there any solution to stream RTSP live video inside these browsers?

like image 401
Tiago Dias Avatar asked Oct 12 '15 12:10

Tiago Dias


People also ask

How do I enable VLC plugin in Chrome?

Go to chrome://plugins on your Chrome browser. 5. There you'll find "VLC web plugin." If it's available, then the installation is successful, and If not, try the process again after restarting your system.

How do I view RTSP stream in Firefox?

Type "/user/local/RealPlayer/realplay" in the string value field and click OK. Firefox will now recognize streaming RTSP media and use the the RealPlayer application to display RTSP video.

Can Chrome open RTSP stream?

Direct RTSP streaming is still not supported by browsers, if you have to play an RTSP stream in the browser then you need a proxy server that will convert RTSP to HTTP stream.

Can VLC player play RTSP stream?

Using the VLC player, you can play the video streaming via RTSP protocol. Launch the VLC player and open network stream, type in the URL rtsp://IP Camera's IP Address/channel1.


1 Answers

After a long time digging and following this topic I have came to interesting results. At this point the best option seems to be an RTSP proxy that changes RTSP in a way that makes it compatible with something supported by web browsers (WebRTC, etc.).

I have collected the following solutions:

  • https://github.com/Streamedian/html5_rtsp_player RTSP - Proxy - JS Player (nodeJS)
  • https://github.com/lulop-k/kurento-rtsp2webrtc RTSP - WebRTC Proxy - Browser (nodeJS)
  • Others in nodeJS - https://www.pincer.io/npm/tags/rtsp
  • https://wmspanel.com/
  • https://easyrtc.com/
  • http://stackoverflow.com/questions/21921790/best-approach-to-real-time-http-streaming-to-html5-video-client
  • http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/Choosing-a-Video-Player-Features-and-Specs-for-the-Top-Five-94188.aspx
  • Native browser Video Player with HTML5 Video tag + WebSocket RTSP proxy https://github.com/SpecForge/html5_rtsp_player/wiki/HTML5-RTSP-Player~

For the future I expect:

  • Video Camera manufacturers will start to implement protocols like WebRTC and MPEGdash
  • Web Browsers SHOULD implement RTSP but this is probably not going to happen
like image 162
Tiago Dias Avatar answered Oct 01 '22 04:10

Tiago Dias