mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
9dc466475a
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 #3354 (partial fix) b/186457868 Change-Id: I2b34ee52dd12b59e1c1237258050b50e3189bee3