5 ms·
HTML5 does not support live streams. Live streaming of RTSP would be useful for me.
by jbritton 10y ago
HTML5 does not support live streams.
Live streaming of RTSP would be useful for me.
- TD-Linux 10y agoWebRTC is the HTML5 equivalent of RTSP (they are both based on RTP). You can use Janus to translate between the two - feed RTSP into Janus and it'll apply the necessary encryption and do the necessary firewall hole-punching to make it WebRTC compliant.
- iamleppert 10y agoYou can certainly get streaming working with HTML5. I've done it before.
- eridius 10y agoHTTP Live Streaming (https://en.wikipedia.org/wiki/HTTP_Live_Streaming https://en.wikipedia.org/wiki/HTTP_Live_Streaming) is already supported in a wide array of products. Oddly enough, Chrome supports it on Android, but not on desktop OSes.
- cpeterso 10y agoThe Media Source Extensions API (MSE) allows streaming audio/video playback in HTML. It's used widely today, including YouTube and Netflix. JavaScript libraries like Dailymotion's HLS.js can remux container formats on top of MSE, so you don't need native support for HLS in desktop browsers. https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API https://developer.mozilla.org/en-US/docs/Web/API/Media_Sourc... http://engineering.dailymotion.com/introducing-hls-js/ http://engineering.dailymotion.com/introducing-hls-js/
- Matthias247 10y agoI used HLS (native in iOS and Edge) as well as hls.js and it works good if you use the correct codecs. A drawback is that through it's HTTP file based distribution it's not really low latency (live). A UDP based streaming protocol could for sure do better.
- eridius 10y agoA UDP-bsaed streaming protocol for video would produce some crazy artifacts if packets are dropped or reordered, unless you put I-frames in very frequently (which would significantly increase the bandwidth requirement).