Fix a black webcam preview
Open the webcam test over HTTPS, uncover the lens, select the intended camera and allow video access. If the preview stays black for 2 seconds, improve the lighting and try the system camera app. A permission denial, a busy camera and an active stream with a covered lens need different fixes.
Troubleshooting guides
- In Chrome or Edge open the site controls beside the address and allow Camera. In Firefox clear the blocked camera permission at the address bar and request it again. In Safari check Settings for This Website and its Camera setting.
- Check operating-system camera privacy settings for the browser. Shut down video calls, OBS and background capture utilities before pressing Start again.
- If the source opens, shine light on an object and move it. Confirm the selected camera is a physical camera rather than an empty virtual source and compare with the system camera app.
- For a USB camera, test a direct connection. If another app also stays black, check the cover, hardware privacy key and cable before changing browser settings again.
Benchmark reference
| Measurement | Reference |
|---|---|
| Dark frame | Mean brightness below 8/255 for 2 s |
| Frame delivery | Below 15 FPS merits a lighting or bandwidth check |
- Dark frame
- Mean brightness below 8/255 for 2 s
- Frame delivery
- Below 15 FPS merits a lighting or bandwidth check
Common questions
How should I interpret the result?
A dark preview lasting 2 seconds can mean the shutter is closed even when the camera light is on. Open the shutter and move a bright object across the frame. If motion stays below 15 FPS, repeat in daylight and compare the same camera in the system camera app.
Why does an active camera show black without a permission error?
The browser has a stream but may receive dark frames from a covered lens, a virtual source or poor lighting.
What should I record?
Write down the device, the setting you changed and which observation repeated. Keep a local copy to compare another run.
Where are my readings processed?
This page calculates the readings in your browser. Device signals and test results stay on your device. A downloaded file is yours to keep or share.