Fix video call headphones

This commit is contained in:
Ali
2023-01-15 23:10:10 +04:00
parent 1af7d86c0c
commit e0b7e4087c
2 changed files with 10 additions and 2 deletions

View File

@@ -825,7 +825,7 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro
switch currentOutput {
case .headphones, .speaker:
break
case let .port(port) where port.type == .bluetooth:
case let .port(port) where port.type == .bluetooth || port.type == .wired:
break
default:
self.setCurrentAudioOutput?(.speaker)