forked from shaka-project/shaka-player
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix buffering due to re-fetch (SegmentTemplate+duration) (shaka-…
…project#3419) In DASH with SegmentTemplate and a fixed duration, indexes would continue to grow so long as they had not ended. However, this was based on a callback which captured an end time variable that could become out-of-date in a multi-period live stream. This prevents indexes from continuing to grow indefinitely by always using the most up-to-date end time for the period. This also fixes eviction of segments in the same scenario, which fixes SegmentIterator access and related assertions later. Issue shaka-project#3354 (partial fix) b/186457868 Change-Id: I2b34ee52dd12b59e1c1237258050b50e3189bee3
- Loading branch information
1 parent
3222370
commit 9dc4664
Showing
4 changed files
with
53 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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