-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Showing
3 changed files
with
30 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters