[webkit-changes] [WebKit/WebKit] b666a1: AudioSession category should be sticky if DOMAudio...
youennf
noreply at github.com
Thu Dec 8 08:51:38 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b666a12becd8a3f8c66e5d0bcd9e09cea7207a40
https://github.com/WebKit/WebKit/commit/b666a12becd8a3f8c66e5d0bcd9e09cea7207a40
Author: Youenn Fablet <youennf at gmail.com>
Date: 2022-12-08 (Thu, 08 Dec 2022)
Changed paths:
A LayoutTests/media/audioSession/audioSessionType-web-audio-expected.txt
A LayoutTests/media/audioSession/audioSessionType-web-audio.html
M Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm
Log Message:
-----------
AudioSession category should be sticky if DOMAudioSession.type is set
https://bugs.webkit.org/show_bug.cgi?id=248943
rdar://problem/103115866
Reviewed by Eric Carlson.
Force the category to mtch the override category if the override category is set.
F
* LayoutTests/media/audioSession/audioSessionType-web-audio-expected.txt: Added.
* LayoutTests/media/audioSession/audioSessionType-web-audio.html: Added.
* Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm:
(WebCore::MediaSessionManagerCocoa::updateSessionState):
Canonical link: https://commits.webkit.org/257568@main
More information about the webkit-changes
mailing list