mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fixes #3197 - Allow voice message playback in the background
- inform other audio sessions on deactivation - let CallKit handle the audioSession for ElementCall
This commit is contained in:
committed by
Stefan Ceriu
parent
a0eafe26c3
commit
37ed7addf5
@@ -119,7 +119,7 @@ class AudioRecorder: AudioRecorderProtocol {
|
||||
|
||||
private func releaseAudioSession() {
|
||||
MXLog.info("releasing audio session")
|
||||
try? audioSession.setActive(false)
|
||||
try? audioSession.setActive(false, options: .notifyOthersOnDeactivation)
|
||||
removeObservers()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user