Bug 314171

Summary: [MSE] when playback stalls due to a gap in the data readyState may not be updated immediately
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-05 22:19:03 PDT
currently the MediaSource::monitorSourceBuffers is called every 250ms from the HTMLMediaElement progress monitoring. When playback stall on a gap, the MediaPlayerPrivateMediaSource calls HTMLMediaElement::mediaPlayerTimeChanged() to fire the `timeupdate` Now there could be a wait of up to 250ms for the monitorSourceBuffers to be called which will change the readyState back to HAVE_CURRENT_DATA.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-05 22:19:10 PDT
Jean-Yves Avenard [:jya]
Comment 2 2026-05-05 23:31:38 PDT
EWS
Comment 3 2026-05-06 07:57:58 PDT
Committed 312694@main (21dffebd3c18): <https://commits.webkit.org/312694@main> Reviewed commits have been landed. Closing PR #64347 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.