-
Notifications
You must be signed in to change notification settings - Fork 66
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
Alarm going off kills audio (session) #220
Comments
Thank you for opening the issue. Do you mind using Callkit and see if this works for you? Blogpost might help and our demo app also has an option to start meeting with callkit. I have tested and I can see the meeting still runs after alarm turns off. Let me know if this works for you as well. |
Due to some product considerations (for example AppStore limitation on Chinese app store) we are still internally deciding if we should use callkit or not. It would be great if this could be fixed without us using callkit. |
Hi @r00li , |
I also met this issue. Alarms and phone calls kill the audio session with unknown code (78). It does not happen with iTunes music app. I'm using React Native with the demo from this repo. |
Same here :( |
I'm seeing this occur without an alarm. |
Without CallKit, audio calling experience may be degraded. you could refer to the Amazon Chime SDK CallKit Integration blogpost, it will walk you through key steps to integrate Apple’s CallKit into your Customer Application. Thanks. |
Closed under authorization URL. Can Y drop public URL? |
The link was updated, sorry for the inconvenience. |
Describe the bug
If the user has an alarm/timer that goes off during an active call then the audio session gets stopped with unknown status code.
To Reproduce
Steps to reproduce the behavior:
audioSessionDidStopWithStatus(sessionStatus: MeetingSessionStatus)
gets called with.unknown
status.Expected behavior
Audio session would recover after user dismisses the alarm and the user would be able to continue their call normally.
Logs
2021-01-25 14:36:30.826794+0100 [ERROR] VideoChatVC - mic signal_buf_read timed out after 30 seconds 2021-01-25 14:36:30.827299+0100 [ERROR] VideoChatVC - media stream: mic tick failed; err=8 res=2 2021-01-25 14:36:30.830727+0100 [INFO] VideoChatVC - AudioClient State rawValue: 7 Unknown Status rawValue: 82 2021-01-25 14:36:31.335925+0100 [ERROR] VideoChatVC - xal_apple: timed out waiting for spk shutdown 2021-01-25 14:36:31.841063+0100 [ERROR] VideoChatVC - xal_apple: timed out waiting for mic shutdown
Test environment Info (please complete the following information):
Additional context
User reports indicate that this occurs during other interruptions (like getting another call) as well, although we have not tested this.
The text was updated successfully, but these errors were encountered: