Hello everyone,
I’m facing an issue related to calling navigator.mediaDevices.getUserMedia from a web extension. I need to acquire the microphone, so this is a pretty important portion of my extension.
When I call getUserMedia from a standard web page, I get the user media prompt which the user can use to grant access to the microphone. I’m not able to get it displayed when I’m calling getUserMedia from the webextensions javascript instead.
Note: the call to getUserMedia is not in a background script nor into a content script, it’s just inside a javascript which is loaded from the html of the webextension.
Also, I’m not sure if I need special permissions to do so, but looking at the full list of available permissions, I don’t see nothing that reminds me of microphone acquire.
Thanks in advance