Bug 252735

Summary: Actively evict content in ManagedSourceBuffer under memory pressure.
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 2023-02-22 01:40:28 PST
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
Radar WebKit Bug Importer
Comment 1 2023-02-22 01:40:47 PST
Jean-Yves Avenard [:jya]
Comment 2 2023-02-22 02:06:50 PST
EWS
Comment 3 2023-02-24 18:21:15 PST
Committed 260825@main (e994c1218d75): <https://commits.webkit.org/260825@main> Reviewed commits have been landed. Closing PR #10509 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.