DEV Community 👩‍💻👨‍💻

Ankit Kanojia
Ankit Kanojia

Posted on

Reprompt for permissions with getUserMedia() after initial denial

Actually i have already asked realted to this question, but either no one interested or no one has specific answer related to my question. In case of anyone help me out, It would be great.

I have user the MediaStream Recording API for recording audio using microphone, the recording works well but in case of don't allow the browser to record a voice then click on the record button it's not showing any error,

What I want is in case of user don't allow voice

Top comments (0)

This post blew up on DEV in 2020:

js visualized

🚀⚙️ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳

Happy coding!