RESOLVED FIXED316087
[MSE] time can jump backward when SourceBufferPrivate::reenqueueMediaForTime is called
https://bugs.webkit.org/show_bug.cgi?id=316087
Summary [MSE] time can jump backward when SourceBufferPrivate::reenqueueMediaForTime ...
Jean-Yves Avenard [:jya]
Reported 2026-06-02 05:20:17 PDT
When SourceBufferPrivate::reenqueueMediaForTime we search for the TrackBuffer's sample that contains currentTime and beyond. Audio samples are packed in 2s buffer. So say we need to re-enqueue samples at currentTime=1.9s ; we will re-enqueue a MediaSample that span from 0 to 2s. When this is given to the audio renderer, the synchroniser's time will jump backward to 0.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-06-02 05:20:22 PDT
Jean-Yves Avenard [:jya]
Comment 2 2026-06-02 05:28:09 PDT
EWS
Comment 3 2026-06-03 06:48:45 PDT
Committed 314461@main (34045e1b9434): <https://commits.webkit.org/314461@main> Reviewed commits have been landed. Closing PR #66254 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.