A New Webcam Resolution Tester Tool
We've published a new tool that allows you to scan the resolutions & fps supported by your webcams (and browser).
It is available at https://addpipe.com/webcam-resolution-tester/
Key features:
- can scan all your webcams 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) andexactvideo 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.videoWidthandvideo.videoHeightfor 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
OverconstrainedErroronly only when that error is thrown (when requestingexactresolutions) - new button to release the webcam when you're done scanning
This tool has been indispensable in understanding the capabilities of various webcams, browsers & mobile devices and debugging issues with our video recording client.
Code is on GitHub.