RESOLVED FIXED 266169
[ManagedMSE] bufferedchange event isn't fired when MediaSource::endOfStream is called
https://bugs.webkit.org/show_bug.cgi?id=266169
Summary [ManagedMSE] bufferedchange event isn't fired when MediaSource::endOfStream i...
Jean-Yves Avenard [:jya]
Reported 2023-12-10 00:35:40 PST
the bufferedchange event needs to be fired whenever the observable buffered range has changed. Per MSE spec, when the MediaSource's readyState change to being "ended" the way the buffered change is calculated is changed [1] "If readyState is "ended", then set the end time on the last range in source ranges to highest end time." And so the buffered range changes when we call endOfStream() and the bufferedchange event should be fired then. [1] https://w3c.github.io/media-source/#htmlmediaelement-extensions-buffered
Attachments
Radar WebKit Bug Importer
Comment 1 2023-12-10 00:35:55 PST
Jean-Yves Avenard [:jya]
Comment 2 2023-12-10 03:42:25 PST
EWS
Comment 3 2023-12-11 02:28:50 PST
Committed 271865@main (28e996fdbabd): <https://commits.webkit.org/271865@main> Reviewed commits have been landed. Closing PR #21593 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.