Disable webcam in JavaScript?

Hello, is it possible it disable the webcam in JavaScript? Is it possible by revoking permissions?

Hmmm, does this help?

1 Like

Based on experience with rickrolling, you need to close the MediaStream you get from getUserMedia

1 Like