Hi @DTS Engineer
I would like to follow up this issue.
From our metics, looks like after upgrading to iOS 18.4.1,** the incoming call no audio issue is increased**. we did not observe outbound call increased. Here is the incoming call process in our app
incoming call from push notification, app call reportNewIncomingCall
after report incoming call success, our app will configure audio session
our app will post the configureAudioSession to another thread
reportNewIncomingCall callback
configureAudioSession in another thread
(app will wait for the user press answer button, may take several seconds)
user answer the call and AnswerCallAction will callback
app will finish the signaling answering logic
action.fulfill()
callkit shall setActive Audio session
didactivate audio session shall be triggerd, but it's not.
our app detect no audio for 5 seconds
try to setActive(YES) for workaround, sometimes it will success, sometimes it won't
if the setActive(YES) failed, it will return "Session Activation failed" error. No more information indicate why it failed.
Could you please review the following processes for any potential issues?
We are aware of a possible race condition when configuring the AudioSession in step 5 on another thread, which we plan to address. This could occur if the user answers the call quickly in step 6, potentially causing a conflict between the CallKit active audio session and step 5.
However, based on user logs, we've observed that most users don't answer calls immediately. This suggests the race condition may not be the root cause, unless CallKit performs additional audio session processes after step 4. Could you confirm this?
We've noticed from some user logs that the issue may arise when the app is in the background and awakened by an incoming call push notification.
In some instances, once the issue occurs, it affects all subsequent incoming calls.
Despite an increase in occurrences, the issue still has a low incidence rate of 0.2%. This leads us to suspect that the problem may be caused by a race condition somewhere in the process.
Your insights on these points would be greatly appreciated. Thank you very much for your assistance!