Files
shaka-player/test
gmamzn 12f7296c6c fix: Increase tolerance for duplicate segment detection (#9865)
In HLS, the segment iterator can add or remove segments rapidly, causing
the same segment to reappear with a slightly different start time. The
existing duplicate detection used a 1ms tolerance, but some streams
exhibit timing inaccuracies between 1ms and 2ms, causing the same
segment to be downloaded twice. This leads to AV sync issues because the
duplicate segment shifts the buffer by one segment duration.

Increase the tolerance from 1ms to 2ms to cover these cases.

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2026-03-20 16:46:41 +01:00
..
2025-06-02 13:46:40 +02:00
2026-03-14 10:51:09 +01:00
2025-06-02 13:46:40 +02:00