Webcam Test

Check your camera’s live preview, resolution, and frame rate.

Preview

Start the camera to see a live preview and its signal details.

Camera is off

The camera feed and any snapshots stay on this device — nothing is recorded, uploaded, or stored.

FAQ

Why do I have to allow camera access first?

The browser only shares the camera after you allow it, and you can revoke that permission at any time in the site settings. The test uses the access to show the preview and read the camera’s modes; stopping the test releases the camera right away.

Why is a resolution from my camera’s spec sheet missing?

The list shows the modes the camera and browser actually deliver right now, not the marketing spec. Drivers, USB bandwidth, and lighting can change what is offered, and some modes only appear in certain apps.

What if another app is using the camera?

Most cameras can only serve one app at a time. Close video-call or recording apps (including other browser tabs), then start the test again. If it still fails, reconnect the camera or restart the browser.

Browser-Based Camera Access via WebRTC

Modern web browsers interact with imaging hardware through standardized Media Capture and Streams APIs, commonly associated with WebRTC technology. This framework allows web applications to request direct access to connected video input devices without requiring external plugins, drivers, or proprietary software installations.

When a user initiates a camera request, the browser acts as a secure intermediary. The application requests a video stream by defining specific constraints, such as requesting video without audio. The browser then prompts the user for explicit permission to access the hardware. Once granted, the browser establishes a media stream track, pulling raw frames directly from the system's camera driver and rendering them into an HTML5 video element in real time.

Camera Resolution and Aspect Ratio Calculations

Video resolution is defined by the number of horizontal and vertical pixels contained in a single frame. During an active session, the tool queries the active video track to display the current width and height under the Camera details section.

Along with the raw pixel dimensions, the tool calculates the Aspect ratio, which is the simplified mathematical relationship between the width and the height of the image. Common aspect ratios include:

  • 16:9: The standard widescreen format used by most modern high-definition webcams (e.g., 1920×1080 or 1280×720 pixels).
  • 4:3: The traditional square-format video resolution common in older legacy cameras or specific low-resolution modes (e.g., 640×480 pixels).

The tool displays these values under the Resolution and Aspect ratio labels to help users verify if their camera is outputting a distorted or correctly proportioned feed.

Frame Rate Dynamics and Real-Time Measurement

Frame rate, measured in Frames Per Second (FPS), dictates the smoothness of the captured video. The tool displays this metric under the Frame rate label using one of two distinct methods depending on browser support:

  1. Live measurement: Calculated in a rolling window using browser APIs to count the actual frames rendered per second. This represents the real-time performance of the video stream.
  2. Reported by the camera: The static frame rate value reported directly by the camera's hardware configuration to the browser.

A camera's real-time frame rate often fluctuates. Even if a device is advertised to support 30 FPS or 60 FPS, the actual Live measurement can drop significantly due to environmental and system factors. Insufficient room lighting forces the camera's auto-exposure firmware to increase exposure time per frame, which lowers the overall FPS. Additionally, system resource constraints or USB bandwidth limitations can cause dropped frames during transmission.

Hardware Specifications vs. Real-World Performance

There is often a discrepancy between a webcam's advertised retail specifications and the actual performance metrics displayed during a test. A camera marketed as a "1080p 60 FPS" device may only output 720p at 30 FPS under certain conditions.

These discrepancies occur due to several technical layers:

  • USB Bandwidth Limitations: Multiple devices sharing a single USB controller can saturate the available bandwidth, forcing the camera to downgrade its resolution or frame rate.
  • Operating System and Driver Configurations: Default system drivers may limit the camera to basic YUY2 or MJPEG compression formats, restricting access to higher resolutions or frame rates.
  • Lighting Conditions: In low-light environments, camera firmware automatically prioritizes image exposure over speed, reducing the frame rate to let more light hit the sensor.

The figures shown in the Camera details section describe what the browser currently reports and measures, reflecting the real-world performance of the hardware under its current operating conditions.

Scanning Supported Resolutions

The tool includes a Scan resolutions feature to discover which standard video modes the camera can currently deliver. Rather than relying on marketing materials, this scan actively tests the hardware against 11 common standard resolution modes.

During the scan, the tool applies an exact constraint to each individual resolution mode, temporarily requesting that specific size from the camera. The temporary track is immediately stopped after testing. If the camera successfully initializes the mode, it is marked as In use or available; if the camera rejects the mode, it is marked as Not offered. If a specific mode fails during an active test, the tool displays the message: The camera rejected ‹mode›; the previous mode was restored..

Troubleshooting Browser Camera Failures

When a camera fails to start, the browser generates specific error states. Understanding these messages helps isolate hardware, software, or permission issues:

  • Insecure Connections: If the page is loaded over insecure HTTP, the browser blocks media access entirely, resulting in the error: This browser or page can’t access a camera. Try a current browser on a secure (HTTPS) connection..
  • Blocked Permissions: If the user previously denied camera access for the site, the tool displays: Camera access is blocked. Allow camera access for this site in the browser, then start again..
  • Hardware Disconnection: If no physical camera is connected or enabled in the operating system, the tool shows: No camera was found. Connect or enable a camera, then try again.. If the camera is unplugged during an active test, the message The active camera was disconnected. appears.
  • Resource Conflicts: Most webcams can only stream to one application at a time. If another program (such as Zoom, Teams, or another browser tab) is using the device, the tool displays: The camera couldn’t start — another app may be using it. Close that app and try again..
  • General Failures: For unspecified hardware or system errors, the tool outputs: The camera couldn’t start (‹error›)..

Local Processing and Privacy

The Webcam Test tool operates with a strict local-only processing model. When you click Start camera, the video stream is generated by your browser and rendered directly to the Preview container on your screen.

No video data, live measurements, or captured frames are transmitted to external servers, recorded, or stored, ensuring complete privacy as no data leaves the device. When you click Take snapshot and Download PNG, the image file is generated locally within your browser memory and saved directly to your local device.

To ensure your privacy and free up system resources, the tool releases all active media tracks when you stop the test or switch devices. Additionally, if you navigate away from the page or close the tab, the active tracks are released via the pagehide event, ensuring the camera hardware is completely powered down.

Frequently Asked Questions

Why do I have to allow camera access first?

The browser only shares the camera after you allow it, and you can revoke that permission at any time in the site settings. The test uses the access to show the preview and read the camera’s modes; stopping the test releases the camera right away.

Why is a resolution from my camera’s spec sheet missing?

The list shows the modes the camera and browser actually deliver right now, not the marketing spec. Drivers, USB bandwidth, and lighting can change what is offered, and some modes only appear in certain apps.

What if another app is using the camera?

Most cameras can only serve one app at a time. Close video-call or recording apps (including other browser tabs), then start the test again. If it still fails, reconnect the camera or restart the browser.