-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Seeking not working as expected on certain multi period DASH streams in 4.4.x #5664
Comments
@littlespex are you interested on send a PR to fix it? |
We are still trying to find the root cause of the issue. Any thoughts? |
Update: The issue was introduced in commit f1c5a1c @joeyparrish Any thoughts as to why this change would result in the player loading all segments between the current playhead time and the seek time? |
The segment iterator is not returning the correct initial value, and the while (mediaState.segmentIterator && presentationTime > ref.endTime) {
ref = mediaState.segmentIterator.next().value;
} |
This issue is still happening for us, we don't have it in 4.3.x, but we do in 4.4.x and 4.5.x |
…t#306) * [PATCH] fix(dash): fix race condition in segment template (shaka-project#5842) Fixes shaka-project#5760 * fix(cea): Fix not rendering CEA-608 Closed Captions (shaka-project#4683) Also added H265 support and a framework for future TS CEA parser support. Fixes shaka-project#4605 Fixes shaka-project#3659 Co-authored-by: Joey Parrish <[email protected]> * fix(cea): Fix not rendering CEA-608 on encrypted mp4 segments (shaka-project#4756) Fixes shaka-project#4605 Co-authored-by: Joey Parrish <[email protected]> * fix: CEA 608 captions not work with H.265 video streams (shaka-project#5252) Fix parsing of CEA 608 captions in H.265 video streams by handling 2 byte nal unit header. Fixes shaka-project#5251 * fix: seeking in segment timeline returns incorrect index (shaka-project#5716) Resolves shaka-project#5664 --------- Co-authored-by: Albin Larsson <[email protected]> Co-authored-by: Álvaro Velad Galván <[email protected]> Co-authored-by: Joey Parrish <[email protected]> Co-authored-by: Aidan Ridley <[email protected]> Co-authored-by: Casey Occhialini <[email protected]>
Have you read the FAQ and checked for duplicate open issues?
Yes
If the problem is related to FairPlay, have you read the tutorial?
N/A
What version of Shaka Player are you using?
4.4.2
. This issue does not occur in4.3.12
.Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
main
?Yes
Are you using the demo app or your own custom app?
Both
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Chrome 117.0.5938.62, Safari 16.6 (18615.3.12.11.2), MacOS Ventura 13.5.2 (22G91)
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
Sent via email
What configuration are you using? What is the output of
player.getConfiguration()
?Default
What did you do?
What did you expect to happen?
The player jumps to the new playhead time, starts loading segments starting at the new playhead time and begins playback.
What actually happened?
The player loads all segments between the original playhead time and the seek time resulting in a long "buffering" period before playback resumes.
seek_issue_4.4.x.mp4
The text was updated successfully, but these errors were encountered: