Bug 315551

Summary: [MSE|Cocoa] currentTime can go beyond duration or gap when seeking near them
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jean-Yves Avenard [:jya]
Reported 2026-05-26 00:30:40 PDT
Identified following an intermittent failure in wpt/media-source/mediasource-duration.html When seeking near the media's duration, it is possible for the currentTime to go slightly beyond when playback resume. This occurs as the stall detection is only set when the buffered range changes. It should be set when the currentTime changes too as the location of the next gap would change.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-26 00:30:45 PDT
Jean-Yves Avenard [:jya]
Comment 2 2026-05-26 00:43:49 PDT
EWS
Comment 3 2026-05-26 19:22:12 PDT
Committed 313936@main (49f240763dcf): <https://commits.webkit.org/313936@main> Reviewed commits have been landed. Closing PR #65657 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.