-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix several bugs with multi-Period content.
First, Player should not call AbrManager.setVariants as part of load(). Before, it would set them for the first Period; however, this doesn't work with a start time in another Period. StreamingEngine will call chooseStreams_ for the starting Period before startup finishes. Second, we should handle Period transitions before we handle buffering goal. Before, we would wait until the playhead moves closer to the Period transition even if we have buffered the entire Period. This can cause problems when seeking, especially with text content that buffers quickly. If we seek and we have buffered text but not video, the pipeline will stall since text is waiting for the playhead to move while video is waiting for the Period transition. Lastly, it is possible for multiple Period transitions to occur closely together. If we seek into a Period that is not setup yet, and then seek back to a Period that is setup, then the second transition will complete and the first will override it once it finishes setting up the Period. We should stop any old transitions if another starts. Issue #655 Change-Id: Iab8961c606a65487704c9f0efaa255db0e3dc942
- Loading branch information
1 parent
6a01da0
commit 01b82ce
Showing
3 changed files
with
42 additions
and
30 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