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

isWebsiteHasMicrophonePermissions check always returns false with Firefox on Android #76

Open
thomaside opened this issue Feb 14, 2019 · 2 comments

Comments

@thomaside
Copy link

When i visit the demo page (https://www.webrtc-experiment.com/DetectRTC/,), it always shows the permission check.

After accepting the camera and microphone, "Website has webcam permissions?" returns a yep. ""Website has microphone permissions?" on the otherside always returns a Nope. Therefore there might be an issue here with the isWebsiteHasMicrophonePermissions check.

Here is a short video of the issue.

@will093
Copy link
Contributor

will093 commented Nov 26, 2020

I am also experiencing the same problem.

@will093
Copy link
Contributor

will093 commented Nov 26, 2020

I believe the issue is here on line 798:

https://github.com/muaz-khan/DetectRTC/blob/master/DetectRTC.js#L798

I would think that it should still set the isWebsiteHasMicrophonePermissions even if the device has no label, which it doesn't on Firefox Android (seems like all the overridden device properties get reverted in fact).

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