Bug 316082

Summary: [MSE] notifyTimeReachedAndStall must not arm a stall behind currentTime
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-06-02 04:22:32 PDT
Under some circumstances imported/w3c/web-platform-tests/media-source/mediasource-duration.html will remove content from the sourceBuffer prior the currentTime and then change the duration. MediaPlayerPrivateMediaSourceAVFObjC::resetStallForTime always assumes that the duration() is ahead of currentTime and notifyTimeReachedAndStall This set the AudioVideoRendererRemote::m_stallCap which returns std::min(currentTime(), m_stallCap) This makes the currentTime appears to jump backward with no seek
Attachments
Radar WebKit Bug Importer
Comment 1 2026-06-02 04:22:39 PDT
Jean-Yves Avenard [:jya]
Comment 2 2026-06-02 05:01:14 PDT
EWS
Comment 3 2026-06-04 21:05:41 PDT
Committed 314610@main (6e7720ec70a9): <https://commits.webkit.org/314610@main> Reviewed commits have been landed. Closing PR #66251 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.