[webkit-changes] [WebKit/WebKit] d0daa3: [iOS] Adopt AVAudioSession to check if CarPlay is ...
aestes
noreply at github.com
Fri Aug 18 12:22:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d0daa339187a5ea6301a1465497d1db2ce2f0e36
https://github.com/WebKit/WebKit/commit/d0daa339187a5ea6301a1465497d1db2ce2f0e36
Author: Andy Estes <aestes at apple.com>
Date: 2023-08-18 (Fri, 18 Aug 2023)
Changed paths:
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
M Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm
Log Message:
-----------
[iOS] Adopt AVAudioSession to check if CarPlay is connected
https://bugs.webkit.org/show_bug.cgi?id=260321
rdar://112481563
Reviewed by Eric Carlson.
Migrated MediaSessionHelperIOS from AVSystemController SPI to AVAudioSession API to check if CarPlay
is connected.
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm:
* Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm:
(MediaSessionHelperiOS::MediaSessionHelperiOS):
(MediaSessionHelperiOS::mediaServerConnectionDied):
(MediaSessionHelperiOS::updateCarPlayIsConnected):
(MediaSessionHelperiOS::setIsPlayingToAutomotiveHeadUnit):
(-[WebMediaSessionHelper initWithCallback:]):
(-[WebMediaSessionHelper mediaServerConnectionDied:]):
(-[WebMediaSessionHelper activeOutputDeviceDidChange:]):
(-[WebMediaSessionHelper carPlayIsConnectedDidChange:]): Deleted.
Canonical link: https://commits.webkit.org/267050@main
More information about the webkit-changes
mailing list