mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-16 16:16:40 +03:00
abf9f5ed08
When playing manifests with segments longer than bufferBehind, while gap jumping is enabled, there can be issues where the streaming engine evicts the frames of the segment currently playing, thus creating a gap that is then jumped. This change makes the streaming engine use bufferBehind or maxSegmentSize, whichever is larger, when choosing when to evict segments. It also adds a getter for maxSegmentSize on presentationTimeline. Closes #1123 Change-Id: I83459c5eb3ebb1d6dff031e2bc244ac9fc3b5763