-
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
fix(DASH): segments being fetched out of the range of the timeline #5889
fix(DASH): segments being fetched out of the range of the timeline #5889
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@littlespex For me the change is fine, can you check if it does not introduce any regression in your streams? Thanks!
Incremental code coverage: 100.00% |
I've tested a few streams and do not see any issues with this PR. I did notice that we lost captions on some of our streams, but this issue occurs in main as well. Unfortunately I don't have a lot of time to investigate right now. |
@avelad @littlespex For some more info on this fix (I'm on a team with @dave-nicholas :) ) Using Furthermore, architecturally numEvicted has one single purpose, and that's to keep consistent positioning while you're playing a stream. It's not there to be used for absolute URI calculations or to be consistent between closing and re-opening of a Segment Index. This dual purpose of using I think, architecturally, it makes sense that all info required to build the Segment URI should be contained within the TemplateInfo structure. Mixing in a variable internal to the Segment Index just makes it all the more confusing. |
fixes: #3952
There was an issue that would occur that caused segments to be fetched that are out of the range of the manifest.