A simple html/js tool that allows you to scan the resolutions and framerates supported by your browsers and webcam.
A live working version of this tool is available at https://addpipe.com/webcam-resolution-tester/ .
- can scan all your webcams or front/back cameras in one go
- works as expected on mobile devices with their multiple cameras
- detects maximum fps supported by the webcam per each resolution
- can scan using both
ideal
(recommended) andexact
video constraints - results can be exported or copied as csv, markdown, json or xml
- scan results table includes camera name and browser; export filename contains camera name
- prints out the
getCapabilities()
information for the video track - works on all secure contexts (including
file://
) - relies on
video.videoWidth
andvideo.videoHeight
for width and height, not ontrack.getSettings()
(it matters on mobile devices where the device will respond with a portrait video when held in portrait mode) - marks a resolution as failed with
OverconstrainedError
only when that error is thrown (when requestingexact
resolutions) - new button to release the webcam when you're done scanning
This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.