mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Don't adjust speaker to speaker
This commit is contained in:
@@ -556,7 +556,7 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro
|
||||
if self.outgoingVideoNodeValue != nil || self.incomingVideoNodeValue != nil || self.candidateOutgoingVideoNodeValue != nil || self.candidateIncomingVideoNodeValue != nil {
|
||||
if let audioOutputState = self.audioOutputState, let currentOutput = audioOutputState.currentOutput {
|
||||
switch currentOutput {
|
||||
case .headphones:
|
||||
case .headphones, .speaker:
|
||||
break
|
||||
case let .port(port) where port.type == .bluetooth:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user