mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:02:10 +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
@@ -251,8 +251,6 @@ class ElementCallService: NSObject, ElementCallServiceProtocol, PKPushRegistryDe
|
||||
// MARK: - Private
|
||||
|
||||
func tearDownCallSession(sendEndCallAction: Bool = true) {
|
||||
try? AVAudioSession.sharedInstance().setActive(false)
|
||||
|
||||
if sendEndCallAction, let ongoingCallID {
|
||||
let transaction = CXTransaction(action: CXEndCallAction(call: ongoingCallID.callKitID))
|
||||
callController.request(transaction) { error in
|
||||
|
||||
Reference in New Issue
Block a user