-
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
Broken camera after sleep mode on Android #161
Comments
on android you will need to call disableVideo when going to background mode, while you will need to call enableVideo when coming back to foreground mode. If you want to keep camera working you will need to use foreground service, otherwise you will need to follow above guidance |
@plutoless Thank you, the solution with disableVideo works |
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. |
Steps to reproduce:
AgoraRtcEngine.muteLocalVideoStream(false);
makes the camera image blackThe issue can only be solved by reloading the app. On IOS works fine.
The text was updated successfully, but these errors were encountered: