Revert "Native calls: upgrade to LiveKit 2.15 + add CallKit audio-session coordination"
This reverts commit 455d16abcc.
This commit is contained in:
@@ -18,12 +18,10 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = '14.0'
|
||||
s.dependency 'Capacitor'
|
||||
# LiveKit iOS SDK — carries the call media NATIVELY so audio survives backgrounding AND coordinates with
|
||||
# CallKit's audio session (auto-config OFF via AudioManager.shared.audioSession.isAutomaticConfigurationEnabled
|
||||
# + setEngineAvailability in CXProvider didActivate/didDeactivate), which the WebView's WebRTC could not do.
|
||||
# Pulls in the WebRTC binary transitively. PINNED to 2.15+: the CallKit audio-session coordination API
|
||||
# (AudioManager.audioSession / setEngineAvailability) only exists in 2.15+, and '~> 2.0' was resolving an
|
||||
# older 2.x on the build box (see the `pod install --repo-update` in codemagic.yaml).
|
||||
s.dependency 'LiveKitClient', '~> 2.15'
|
||||
# CallKit's audio session (auto-config OFF via AudioManager.shared.audioSession.isAutomaticConfigurationEnabled;
|
||||
# we configure the session in CXProvider didActivate), which the WebView's WebRTC could not do. Pulls in the
|
||||
# WebRTC binary transitively.
|
||||
s.dependency 'LiveKitClient', '~> 2.0'
|
||||
# CallKit + PushKit + AVFoundation are system frameworks (no external pod).
|
||||
s.frameworks = 'CallKit', 'PushKit', 'AVFoundation'
|
||||
s.swift_version = '5.1'
|
||||
|
||||
Reference in New Issue
Block a user