v152 · interactive demo

Constraint & Event Console

Inspect the exact camera/microphone interfaces and distinguish trusted activation from synthetic clicks.

camera

Unsupported

microphone

Unsupported

code

camera.addEventListener('track', () => use(camera.track));
camera.addEventListener('cancel', showCancelled);
camera.addEventListener('error', () => show(camera.error));

see also