-
Notifications
You must be signed in to change notification settings - Fork 394
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
Background Calls in Android Not Working #177
Comments
i think this is system behavior. if you want the mic to keep working you will need to implement a foreground service. |
Same happen to me, App become mute after switched to background android only. |
@veyhong as described above, you will need to use foreground service in this case. |
@plutoless isn't it Need to use Background service instead of foreground since we are put the app in background ? |
i too have that issue. @plutoless it would be great if you provide example for this in your example code. |
@veyhong please read here what a foreground service does. https://developer.android.com/guide/components/foreground-services. the idea is it can keep your app working just like working in foreground even when it goes to background. |
you can refer to this comment. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue. |
Describe the bug
When putting the app in the background (switching to a different app or going to the home screen), the Agora voice call fails after about two minutes. We've noted the following behaviors.
Android 11 Beta: App gets killed after two minutes of background usage
Android 10: App no longer receives microphone input but can hear other members of the call
To Reproduce
Expected behavior
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: