mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Silence some warnings. (#4969)
This commit is contained in:
@@ -113,7 +113,7 @@ class AudioRecorder: AudioRecorderProtocol {
|
||||
MXLog.info("setup audio session")
|
||||
|
||||
try audioSession.setAllowHapticsAndSystemSoundsDuringRecording(true)
|
||||
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.allowBluetooth])
|
||||
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.allowBluetoothHFP])
|
||||
try audioSession.setActive(true)
|
||||
addObservers()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user