Post

Replies

Boosts

Views

Created

CallKit does not activate audio session on iOS 15.1
Hi! On iOS 15.1 CallKit for some reason does not call func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) after call was returned from hold. But it only happens when current call was interrupted by mobile or FaceTime call and caller ended a call. Steps to reproduce: Start call from device_1 in application using let handle = CXHandle(type: .generic, value: title) let action = CXStartCallAction(call: uuid, handle: handle) Call to device_1 from device_2 using FaceTime Accept call on device_1 and put active application call on hold End call in FaceTime on device_2 Return call from hold on device_1 using let action = CXSetHeldCallAction(call: uuid, onHold: false) requestTransaction(with: action) Expected result: func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) called Actual result: func provider(_ provider: CXProvider, didDeactivate audioSession: AVAudioSession) called Noticed: It does not reproduced on iOS 15.0 and earlier iOS versions All works fine if FaceTime call ended on device_1 All works fine if device_2 called to device_1 using Telegram/WhatsApp applications
4
0
3.1k
Nov ’21
CallKit end calls on iOS 16.1 when user pressed side button
In iOS 16.1 CXProviderDelegate.provider(_: CXProvider, perform action: CXEndCallAction) method called when user pressed side button. In previous iOS versions VoIP call was not interrupted by this action. Is it intentional behavior? Is there any way to prevent it in code?
Replies
1
Boosts
0
Views
1.1k
Activity
Nov ’22
CallKit does not activate audio session on iOS 15.1
Hi! On iOS 15.1 CallKit for some reason does not call func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) after call was returned from hold. But it only happens when current call was interrupted by mobile or FaceTime call and caller ended a call. Steps to reproduce: Start call from device_1 in application using let handle = CXHandle(type: .generic, value: title) let action = CXStartCallAction(call: uuid, handle: handle) Call to device_1 from device_2 using FaceTime Accept call on device_1 and put active application call on hold End call in FaceTime on device_2 Return call from hold on device_1 using let action = CXSetHeldCallAction(call: uuid, onHold: false) requestTransaction(with: action) Expected result: func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) called Actual result: func provider(_ provider: CXProvider, didDeactivate audioSession: AVAudioSession) called Noticed: It does not reproduced on iOS 15.0 and earlier iOS versions All works fine if FaceTime call ended on device_1 All works fine if device_2 called to device_1 using Telegram/WhatsApp applications
Replies
4
Boosts
0
Views
3.1k
Activity
Nov ’21