-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi,
Absolutely love your work here.
I am just wondering if there is any way to make it play through the iPhone's bottom speaker and not through the ear speaker?
Believe it relates to the way it handles the configureAudioSession()
private func configureAudioSession() {
do {
let audioSession = AVAudioSession.sharedInstance()
try audioSession.setCategory(.playAndRecord, options: [.defaultToSpeaker, .allowBluetooth])
try audioSession.setMode(.videoChat)
try audioSession.setActive(true, options: .notifyOthersOnDeactivation)
} catch {
print("Failed to configure AVAudioSession: \(error)")
}
}
Cheers
Metadata
Metadata
Assignees
Labels
No labels