Closed hvsw closed 1 month ago
Hi @hvsw, can you reproduce the issue with our demo app? This is interesting because I think the SDK session would be able to handle phone call interruption even without callkit, and from the error log, the session ends because no responding from the audio output (speaker, headphone...), which I don't usually see that with the normal phone call, did the app got killed by the system? Also what's the reason you want to do this without callkit?
@linsang21 thanks for the reply, here's the follow up:
can you reproduce the issue with our demo app?
I haven't tried.
This is interesting because I think the SDK session would be able to handle phone call interruption even without callkit, and from the error log, the session ends because no responding from the audio output (speaker, headphone...), which I don't usually see that with the normal phone call
Indeed it's interesting, I'd expect it to recover normally like any other "music player"(especially since I'm connected as a viewer only so AudioDeviceCapabilities.outputOnly
. I wonder if audio is dying because of some rerouting (similar to https://github.com/aws/amazon-chime-sdk-ios/issues/465#issuecomment-1981742520) happening to handle the phone call and then the Chime audio session explodes and doesn't recover afterwards.
did the app got killed by the system?
No, it keeps running just fine, I can even see the video, just the audio gets busted.
what's the reason you want to do this without callkit?
That's just the way our app is right now.
@hvsw could you test these on your app?
AudioDeviceCapabilities.inputAndOutput
AudioDeviceCapabilities.outputOnly
Fix for this issue has been released in AmazonChimeSDKMedia 0.20.1.
Describe the bug I got a phone call during a Chime session and now the audio is gone. I need to re-create the meeting session to fix it.
What's the course of action for this? Should clients re-create the session in this case? Can we get more information on what happened?
Similar issues:
220
526
633
To Reproduce Steps to reproduce the behavior:
CallKit
integration.audioOutputDeviceNotResponding
after some seconds.Expected behavior Audio should recover normally.
Logs
Test environment Info (please complete the following information):