-
Notifications
You must be signed in to change notification settings - Fork 424
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
Issue when seeking across PTS rollovers. #1049
Comments
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
👋 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. |
@video-archivist-bot save KEPKAp |
OK, we've archived KEPKAp (https://snapstream-dev-test-public.s3.us-east-1.amazonaws.com/videojs-pts-rollover-issue/playlist.m3u8) over at https://storage.playbackproblems.mux.dev/KEPKAp/playlist.m3u8 and we'll keep it there for future reference. |
via @gesinger , it looks like a rollover happens in the stream around segment https://hockeytech-lh.akamaihd.net/i/game939202audio1_1@742830/segment161013552_1_av-p.ts?sd=10&rebase=on
Yeah, a rollover causes it, but we should be able to handle rollover, as it is valid for TS segments to rollover. They have a max timestamp of 2^33, after which it resets to 0. |
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
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. |
please keep this open |
root cause is likely #1000. |
Description
Seeking in this sample HLS playlist does not work. There is a PTS rollover happening in the file, and that probably is contributing to the issue.
Sources
I went ahead and setup an hls playlist on S3 from the problematic sample file.
https://snapstream-dev-test-public.s3.us-east-1.amazonaws.com/videojs-pts-rollover-issue/playlist.m3u8
Steps to reproduce
Load the sample file in video.js
Try to seek far into the file
Here's a test player that demonstrates the issue.
https://videojs-http-streaming.netlify.app/?debug=false&autoplay=false&muted=false&minified=false&liveui=false&partial=false&url=https%3A%2F%2Fsnapstream-dev-test-public.s3.us-east-1.amazonaws.com%2Fvideojs-pts-rollover-issue%2Fplaylist.m3u8&type=&keysystems=&buffer-water=false&override-native=true
Results
Actual
The seek fails, and it starts playing from the beginning.
Expected
Should seek properly.
Here is an older test player where seeking works properly. You can just load in the s3 link on this page.
https://videojs.github.io/http-streaming/
Additional Information
videojs version
video.js v7.11.2
Workaround
In case it helps, we currently have a workaround hack for this issue. In TimestampRolloverStream, we've commented out the
discontinuity()
in thereset
function.The text was updated successfully, but these errors were encountered: