Repository navigation
Simplify transports module role by making a parser's indexRange imply a requirement - #1945
Open
peaBerberian wants to merge 3 commits into
Open
peaBerberian wants to merge 3 commits into
peaBerberian wants to merge 3 commits into
Conversation
|
✅ Automated performance checks have passed on commit DetailsPerformance tests 1st run outputNo significative change in performance for tests:
|
With SegmentTemplate, SegmentList and SegmentTimeline, the MPD already lists all segments. Still, when the MPD also had an `indexRange`, we requested the index bytes with the initialization segment and parsed the `sidx` in it. The segment list we got from it was then ignored. Since #1939, reading that `sidx` can fail on malformed data, and that error stops playback (or disables subtitles for the Period). So such contents could now fail where they played before, because of a `sidx` we don't even use. I now only keep `indexRange` for SegmentBase, where we need the `sidx` to know the segments. To note that dash.js does the opposite: when an `indexRange` is present, it uses the `sidx` to get the segments, even with SegmentTemplate or SegmentList (see dash.js issue 1457). shaka-player and Media3 ignore `indexRange` outside of SegmentBase, like we now do.
peaBerberian
force-pushed
the
fix/dash-index-range-segment-base
branch
from
December 1, 2026 15:33
beff4d3 to
7ab85a0
Compare
peaBerberian
force-pushed
the
fix/patch-init-data-unusable-pssh
branch
from
December 1, 2026 15:33
1f66504 to
900de3f
Compare
|
✅ Automated performance checks have passed on commit DetailsPerformance tests 1st run outputNo significative change in performance for tests:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #1941
With SegmentTemplate, SegmentList and SegmentTimeline, the MPD already lists all segments. Yet when the MPD also had an
indexRange, we requested the index bytes with the initialization segment and parsed thesidxin it. The segment list we got from it was then ignored.Since #1939, reading that
sidxcan fail on malformed data, and that error stops playback (or disables subtitles for the Period). So such contents could now fail where they played before, because of asidxwe don't even use.I now only keep
indexRangefor SegmentBase, where we need thesidxto know the segments.To note that dash.js does the opposite: when an
indexRangeis present, it uses thesidxto get the segments, even with SegmentTemplate or SegmentList (see dash.js issue 1457). shaka-player and Media3 ignoreindexRangeoutside of SegmentBase, like we now do.