Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RTSP h.264 in google chrome browser

After we are moving over to html5 and many browsers like Google chrome bans VLC web plugin....

Is there any way to play h.264 / h.265 Rtsp streams in browsers this days?

like image 686
Stweet Avatar asked Jan 31 '17 19:01

Stweet


2 Answers

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.

like image 98
Mohd Asim Suhail Avatar answered Nov 17 '22 12:11

Mohd Asim Suhail


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.

like image 6
Victor.dMdB Avatar answered Nov 17 '22 13:11

Victor.dMdB