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
GWT requests unnecessary microphone permission #7348
Comments
That's because of my PR #7243. The permission is needed to fetch the available output devices. |
Could this behaviour be made optional? Such as by only performing the query when doing |
It can be optional with a flag, but we can't do it in the method itself (at least I don't know how), because the JS API is async and the method is sync |
Hmm, yeah, we'd either need developers to call the method multiple times (probably not a bad idea anyway since devices can change) or something in I don't think the SNAPSHOT behaviour should be the default, when most games are fine with using the default output device or letting the user choose via |
This should definitely not be made the default behaviour. Please consider a different solution. |
Issue details
The SNAPSHOT build of libGDX appears to try to access the microphone for GWT. I am uncomfortable with releasing anything that requests microphone access unnecessarily.
1.12.1 on left; 1.12.2-SNAPSHOT on right. All that is different is
gdxVersion
:Reproduction steps/code
html:superDev
Version of libGDX and/or relevant dependencies
1.12.2-SNAPSHOT
Please select the affected platforms
The text was updated successfully, but these errors were encountered: