muxinc / hls-video-element

A custom element (web component) for playing HTTP Live Streaming (HLS) videos.
https://hls-video-element-mux.vercel.app
MIT License
38 stars 18 forks source link

Make the live duration Inifinity #17

Closed heff closed 1 year ago

heff commented 1 year ago

For a live stream (non-Event/DVR) the media element's duration will be Infinity, however this isn't the default when using HLS.js. Setting liveDurationInfinity to true fixes that.