Don't adjust speaker to speaker

This commit is contained in:
Ali
2020-08-07 22:15:13 +04:00
parent 0b6116b9dc
commit f6190ffc0e

View File

@@ -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