The MediaDevices API allows access to connected media input devices, such as cameras, microphones, and screen-sharing sources. It enables browsers to capture real-time media data from these devices, such as video and audio streams.
Permission Access Fingerprint
N/A
Authorized
inquiry
Denied
Unknown
What does a media device check reveal about my camera and microphone?
Without permission, only device types and counts — how many cameras, microphones, and speakers you have. It can't read device names, and it can't access any video or audio. Only after you explicitly grant access does it show specifics like deviceId and label.
Why is the device name blank, or a string of random characters?
That's the browser's protection mechanism. A device's label and deviceId come back empty, or as a fresh temporary value each time, until you grant permission — so a site can't build a lasting identifier without your consent. Once you grant access, the label becomes readable. In private browsing, the deviceId also changes every session.
Can device counts be used for fingerprinting?
Yes, but they don't separate you much. The combination of camera, microphone, and speaker counts provides some signal, but most ordinary machines share the same one-camera, one-mic, one-speaker setup. It works better as a supporting clue for cross-checking whether an environment's claims are consistent than as a way to pin down one person.
It says no devices available, but I definitely have a camera — what now?
Check three layers: has the page been granted permission (look at the camera or microphone icon in the address bar)? Has the browser been blocked from device access in system settings? Is the camera already held exclusively by another app? A virtual machine or remote desktop session with no virtual devices will also come back empty.
Does this check secretly turn on my camera?
No. It only calls the enumeration API to read the device list — it captures no video or audio and needs no permission from you. The browser only prompts for access when a page actually requests a media stream, and that's when the camera indicator light comes on.