Skip to content
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 regression for representationInfo's segmentDuration #3284

Conversation

bbert
Copy link
Contributor

@bbert bbert commented Jun 11, 2020

This PR fixes a regression introduced in v3.0.
Since v3.0, segments info lists are no more pre-computed, each segment info is now computed when requesting a segment.
As a consequence, segment duration for any representation is not set until a media segment is requested.
Since segmentDuration may be used prior to any media segment request (for example buffer target calculation for text tracks, or segment availability range computation), this leads to some dysfunction (for example text track switching for streams with SegmentTimeline).

Bertrand Berthelot added 2 commits June 11, 2020 10:52
…fo (for example for SegmentTimeline, not set in manifest)
…fo (for example for SegmentTimeline, not set in manifest)
@dsilhavy dsilhavy self-requested a review June 11, 2020 09:24
@dsilhavy dsilhavy added this to the 3.1.2 milestone Jun 11, 2020
@dsilhavy dsilhavy merged commit 46d4fb4 into Dash-Industry-Forum:development Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants