Bug 252735
| Summary: | Actively evict content in ManagedSourceBuffer under memory pressure. | ||
|---|---|---|---|
| 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]
Under memory pressure, we should actively evict content in ManagedMediaSource and and ManagedSourceBuffer.
Unlike a MediaSource which can only evict content in the coded frame eviction [1] algorithm during the prepare append algorithm [2]; a ManagedMediaSource and its ManagedSourceBuffers can evict content at any time, after which an "buffered change" event will be fired on the SourceBuffers
[1] https://w3c.github.io/media-source/#dfn-coded-frame-eviction
[2] https://w3c.github.io/media-source/#sourcebuffer-prepare-append
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105769723>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/10509
EWS
Committed 260825@main (e994c1218d75): <https://commits.webkit.org/260825@main>
Reviewed commits have been landed. Closing PR #10509 and removing active labels.