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

Permissions popup is not shown if audio=true #394

Open
3 tasks done
chalagashvili opened this issue Dec 29, 2023 · 1 comment
Open
3 tasks done

Permissions popup is not shown if audio=true #394

chalagashvili opened this issue Dec 29, 2023 · 1 comment

Comments

@chalagashvili
Copy link

Please follow the general troubleshooting steps first:

Bug reports:

Minimal reproduceable example: https://codepen.io/iraklindor/pen/JjzdPRL

Currently we see following:

GIVEN we have simple case like this:

<Webcam audio />

AND user has microphone permission on the system turned off for google chrome
WHEN user goes to the camera page
THEN the permissions popup is not shown
AND camera is not working

Tested on iphone and android devices with chrome, both behave same way as described above. Had couple of desktop complaints too.

My question is, is this an intended behavior or should permissions popup be always shown?

@mozmorris
Copy link
Owner

@chalagashvili if permissions are switched off at a system level, a popup will not appear.

I have just tested this on an iPhone running the latest iOS. If I "Deny" audio and camera, no popup. If I set to "Ask", the permissions popup appears.

Note, this is not something react-webcam specific but related to any application using the getUserMedia api.

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

2 participants