Skip to content
Advertisement

Chrome (and Edge) asking several mic permissions

In my page I have three audio recorders. And when chrome asks permission to use the mic, it has the options: “allow”, “block” and to close the permission popup.

If the use closes de popup, it appears other permission, and after that another (if the user repeats the action). One for each recorder.

Is there a way to show this only one time?

Advertisement

Answer

As I was using react-media-recorder, I tried to see if it was a bug in the lib. And it happened that the recorder was asking permission on mounting.

I changed this to ask only when the user click to record.

So if anyone has the same problem (even if you don’t use this lib) try the same thing.

Advertisement