Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TrackSelection does not jump to live with HlsMediaPeriod
This is a fix for issue google#9347 Once the MaskingMediaPeriod completes `prepare()` (when the masked HlsMediaPeriod reports the first real Timeline with a duration and window start position) and the `preparePositionUs` is used by the player in the `onPrepared()` callback to set the render position it should not use it again. The bug is a track selection causes a jump to live if you are at position 0 in the timeline, even after playback was started from the live point (the prepare position override).
- Loading branch information