I have a browser_action
extension where the user can press start
and stop
in order to capture some audio input. After the file has been recorded I would like to dump its url in the console. The problem is that I cannot get access to the microphone. This is what I have tried so far:
navigator.webkitGetUserMedia
- does not work, navigator.webkitGetUserMedia({ audio: true },...);
calls the error callback with a MediaDeviceFailedDueToShutdown. I tried looking into that error but I found nothing useful about that. That error is nowhere to be found.
Could you please guide me to the right path? Thank you.