-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Answering call with callkit when App is in background and the phone is locked, there is no audio. #181
Comments
Hi @sanketns I would be happy to investigate, if you could prepare a minimal reproducible example simulating your issue. |
Getting these errors in console randomly, see if you can get any hints from this if possible. ATAudioSessionPropertyManager.mm:359 FAILED to set property 1684431725 on AVAudioSession with error Error Domain=NSOSStatusErrorDomain Code=-50 "(null)" AURemoteIO.cpp:1679 AUIOClient_StartIO failed (561015905) |
Hello @hiroshihorie, I’m experiencing the same issue. When I create a room (in my case, start a call), if I immediately go to the background without waiting for the video/audio section to be initialized, I encounter these errors: AURemoteIO.cpp:2087 AURemoteIO@0x10b025c40: IOThread exiting with error 0x10004006 Otherwise, if I wait a couple of seconds and the audio/video initializes before going to the background, everything works fine. |
@raphaelalkamim , may be it's related to audio session configuration while making a call. By the way, are you doing this with callkit? |
@sanketns , Yes, it might be related to the audio session configuration during calls. I'm currently using the default LiveKit configuration and CallKit solely for managing the call display. |
@raphaelalkamim , Are you doing something when these below functions get called? func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession){ } } |
@sanketns No, I'm not using these delegates at all. Should I configure something beyond the LiveKit default configuration? |
Hi any solution to fix this . I am experiencing same when using callKit? @hiroshihorie @sanketns |
Yes, I have the same situation. Is there any solution |
@zackzhuang1996 that's the react native sdk, which is separate from this swift sdk. @sanketns
|
I have the same error when I answer with callkit. Also I received this message: EDIT: On the first call, there is incoming audio in the background. Could be problem here: |
when the app is in background and the phone is locked. There is no audio of opponent user. Tried every possible way but no luck. Kindly guide me for the same.
The text was updated successfully, but these errors were encountered: