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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With