RTSP h.264 in google chrome browser

淺唱寂寞╮ 提交于 2019-12-03 05:32:56

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.

Many open source projects are there that will do the work of RTSP to HTTP conversion or you can use FFmpeg (used by VLC) to convert RTSP to HTTP and then can stream it on the browser.

These guys put together an rtsp over websocket player. https://github.com/Streamedian/html5_rtsp_player

But it does require a server to create the connection and parse the rtsp info (they include an easy to install package to take care of that).

And it doesn't support h265.

As other mentioned you cannot play RTSP natively on any browser. If your source is strictly RTSP then you can use a proxy server between your RTSP server and browser. You can use WebRTC proxy server to play RTP on WebRTC compliant browsers. http://webrtc.live555.com/

you can use VXG Media Plugin for Chrome Supported video formats: H.264, MPEG-4, MPEG-2 and others. you can find full document related this plugin from link given below https://www.videoexpertsgroup.com/vxg-chrome-plugin/

https://www.videoexpertsgroup.com/nacl_player_api/#examples

This plugin works perfect but now it is not working. You can use ffmpeg and video.js to convert and display it for more detail see here Streaming via RTSP or RTP in HTML5

Edwin Kort

With Safari you can open an RTSP stream, and it then plays it on VLC.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!