I am facing a severe audio routing instability issue when using CallKit and the Zego Express SDK on iOS. The problem is that the audio route immediately reverts from the Speaker back to the Earpiece, effectively disabling the Speaker button functionality. 📝 Are you able to reproduce the problem in our sample code (Speakerbox)? Observed BehaviorWhen the user taps the native CallKit Speaker Button, the audio route is correctly changed to the Speaker, but then instantly flips back to the Receiver (Earpiece), as shown in the system log captured via AVAudioSession.routeChangeNotification monitoring. 🧾 Log Evidence (Flapping Occurs in 0.4 seconds)The following log snippet clearly illustrates the system overriding the user's action (reason: 4) with an unexpected CategoryChange (reason: 3) event: I think this is a problem with the library, specifically because of this: with an unexpected CategoryChange (reason: 3) event: CallKit is tightly integrated with the audio system because
Topic:
App & System Services
SubTopic:
General
Tags: