Bug 255681

Summary: Safari is not using the intended AudioSession
Product: WebKit Reporter: Dean Jackson <dino>
Component: MediaAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=256108

Description Dean Jackson 2023-04-19 14:27:41 PDT
From our audio team:

Safari is currently using the following AudioSession `category` / `mode` combo: `.playback` / `.default`. The signal processing done by `.default` mode is not appropriate for video playback in general. It’s appropriate for music playback. Ideally Safari would use `.default` mode for playback of music, and `.moviePlayback` mode for playback of videos. The difference in “signal processing” between `.moviePlayback` and `.default` is the reverb preset that gets used when spatial audio is on.
Comment 1 Dean Jackson 2023-04-19 14:28:03 PDT
rdar://107095456
Comment 2 Dean Jackson 2023-04-19 14:42:59 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12936
Comment 3 EWS 2023-04-20 15:03:00 PDT
Committed 263201@main (e0ce48fe5c2e): <https://commits.webkit.org/263201@main>

Reviewed commits have been landed. Closing PR #12936 and removing active labels.