forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (SegmentIterator) (shaka-project#3419
) In multi-period live DASH streams, the SegmentIterator would sometimes get reset to a value pointing to the beginning of the segment references for the period, causing StreamingEngine to re-fetch segments it already had. This fixes SegmentIterator's getIteratorForTime() to return null when a reference can't be found, and fixes StreamingEngine to handle null returns by waiting and checking again. Closes shaka-project#3354 b/186457868 Change-Id: I2b34ee52dd12b59e1c1237258050b50e3189bee3
- Loading branch information
1 parent
9dc4664
commit 9e6da5a
Showing
2 changed files
with
20 additions
and
9 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