Bug 266169
Summary: | [ManagedMSE] bufferedchange event isn't fired when MediaSource::endOfStream is called | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | 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]
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/119451536>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/21593
EWS
Committed 271865@main (28e996fdbabd): <https://commits.webkit.org/271865@main>
Reviewed commits have been landed. Closing PR #21593 and removing active labels.