Skip to content
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

AudioManager.setMicrophoneMute(mute) can cause SecurityException #36

Open
urkeke opened this issue Jun 16, 2023 · 0 comments
Open

AudioManager.setMicrophoneMute(mute) can cause SecurityException #36

urkeke opened this issue Jun 16, 2023 · 0 comments

Comments

@urkeke
Copy link

urkeke commented Jun 16, 2023

If there are other user profiles on the same device, AudioManager.setMicrophoneMute() method can throw SecurityException with message: requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS to access user 0.

I don't understand this very well but it seems to me that microphone can't be release in this way and WebRTC doesn't have a better way to free microphone resource. Some other video conferencing apps keep using microphone even when muted, like Google Meet.

Do you have any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant