Bug 303345

Summary: Update media session BufferingPolicy logic
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Eric Carlson
Reported 2025-12-01 15:40:03 PST
Update the calculation of buffering policy in `MediaElementSession::preferredBufferingPolicy` so when the process changes to the foreground we don't change from `PurgeResources` unless the element is playing.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-01 15:40:10 PST
Eric Carlson
Comment 2 2025-12-01 15:58:45 PST
EWS
Comment 3 2025-12-02 11:53:01 PST
Committed 303779@main (509e56e65b26): <https://commits.webkit.org/303779@main> Reviewed commits have been landed. Closing PR #54665 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.