Bug 270618

Summary: [MSE] video's currentTime can be further than the gap's start time
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: Morningstar, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jean-Yves Avenard [:jya]
Reported 2024-03-06 21:28:21 PST
Consider a HTML video element using a MediaSource and a video that has precisely one second of data appended to Mediasource's sourceBuffer. When the video stall, the video's currentTime is always greater than 1s and never the same. The reason for this is the MediaPlayerPrivateRemote's time estimator receiving a time update after the playback has stalled. We should cap the time estimator's time to the start of the buffered gap.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-03-06 21:28:36 PST
Jean-Yves Avenard [:jya]
Comment 2 2024-03-24 19:42:19 PDT
EWS
Comment 3 2024-03-27 15:53:39 PDT
Committed 276761@main (e77ffd167967): <https://commits.webkit.org/276761@main> Reviewed commits have been landed. Closing PR #26389 and removing active labels.
Jean-Yves Avenard [:jya]
Comment 4 2024-04-17 19:02:28 PDT
*** Bug 238771 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.