-
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: Fix potential AV sync issues after seek or adaptation (#4886)
After seeking or adaptation, StreamingEngine will create a new SegmentIterator. However, if the buffered ranges are different enough from the references in the iterator, the lookup in the index can produce a duplicate segment. If this happens when sequence mode is active, StreamingEngine will append the duplicate segment instead of overwriting the end of the original one. Any time a new iterator is created, we force the stream to resync, so that unaligned segments or slightly-inaccurate segments are written to the correct place in the buffer. Issue #4589
- Loading branch information
1 parent
13d29fd
commit ac3afb4
Showing
1 changed file
with
15 additions
and
3 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