http-streaming icon indicating copy to clipboard operation
http-streaming copied to clipboard

Use `setLiveSeekableRange` when available

Open gkatsev opened this issue 4 years ago • 2 comments

A long time ago, we opened an issue that we can't properly handle live sources with MSE (https://github.com/w3c/media-source/issues/5). To fix that, setLiveSeekableRange. However, it took a while for it to be added to the spec and then browsers. We should look into implementing support for setLiveSeekableRange in VHS.

This is a followup from #817 where the PiP button doesn't show up for some streams both for us and in HLS.js. A bugzilla ticket was opened and there it was revealed that the button is hidden if the duration of the video is less than 40s. Because we don't use setLiveSeekableRange, we set the duration to be whatever we actually get in the manifest and for those with 3 segmets, it's often 30s.

gkatsev avatar Jun 04 '20 16:06 gkatsev

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Jun 04 '20 16:06 welcome[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 08 '20 07:08 stale[bot]