-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fill gaps with empty frames or last frame #6518
Comments
It would be ideal if HLS.js could play through GAP tags. Video and Audio buffer gaps, where an alternate playlist and non-gap segment could be found, would need to be filled. There is no simple way to insert a video frame of arbitrary length in MSE. Extending the duration of the last frame or finding an intra-frame candidate for any GAP tag situation would be very difficult. Perhaps HLS.js could offer an option to not perform seeks over gaps? As a workaround, try listening for BUFFER_SEEK_OVER_HOLE with The work to support |
Thanks for the quick reply! |
Finally got around to picking this up again, sorry for the delay. It seems to retry a few times then it seeks back and plays the last segment again in a loop. I have setup a listener on |
What do you want to do with Hls.js?
I am trying to synchronize multiple HLS streams side by side from security cameras. They are not guaranteed to have media files for every moment in time (one camera might reboot for instance).
Is there a way to make the
#EXT-X-GAP
tag be treated differently than nudging the stream ahead?I would like to either fill the gaps with black frames or simply pause the stream for the duration of the gap
Is it possible to override the handling of the
#EXT-X-GAP
in this way?What have you tried so far?
I have tried adding the
#EXT-X-GAP
tag but the stream is nudged forward which makes the streams out of sync.The text was updated successfully, but these errors were encountered: