diff --git a/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift b/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift index 62eb4d84d1..7fdfee4ea1 100644 --- a/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift +++ b/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift @@ -171,7 +171,7 @@ class CallKitProviderDelegate: NSObject, CXProviderDelegate { private func requestTransaction(_ transaction: CXTransaction, completion: ((Bool) -> Void)? = nil) { self.callController.request(transaction) { error in if let error = error { - print("Error requesting transaction: \(error)") + print("Error requesting transaction \(transaction): \(error)") } completion?(error == nil) } diff --git a/submodules/TelegramCallsUI/Sources/PresentationCall.swift b/submodules/TelegramCallsUI/Sources/PresentationCall.swift index 80c132529c..6cf0a084d5 100644 --- a/submodules/TelegramCallsUI/Sources/PresentationCall.swift +++ b/submodules/TelegramCallsUI/Sources/PresentationCall.swift @@ -413,6 +413,9 @@ public final class PresentationCallImpl: PresentationCall { return } strongSelf.audioOutputStateValue = (availableOutputs, currentOutput) + if let currentOutput = currentOutput { + strongSelf.currentAudioOutputValue = currentOutput + } var signal: Signal<([AudioSessionOutput], AudioSessionOutput?), NoError> = .single((availableOutputs, currentOutput)) if !didReceiveAudioOutputs {