
A camera diagnostic page should report the track’s chosen width, height and frame rate. An ideal constraint expresses preference and can be negotiated down. The browser interface at the center of this behavior is MediaStreamTrack.getSettings.
Follow the value through the browser
It helps to run the same input twice when evaluating MediaStreamTrack.getSettings. Use a first visit for the unfamiliar path, then repeat the action after the browser has already initialized the page. Keep the records separate. Mixing a cold run and a repeat can make an initialization issue look like a persistent limitation.
Try the difficult case first
Ask for two different ideal frame sizes, then read getSettings from each granted track. Compare the selected dimensions with the canvas export dimensions before blaming the camera.
For this run, capture the input, the user-visible result and the condition in which it was observed. On the comparison device, use the same input before changing any settings. If the outcome differs, attach a short trace to the result so that the next engineer can tell where the behavior started to diverge.
Compare two reports of the same issue by lining up the exact action, the browser and device, and the user-visible outcome. If the comparison device cannot expose MediaStreamTrack.getSettings, run the alternative path separately and record whether the user could finish the original task. That result belongs in the support matrix alongside version data.
Which browsers record support for MediaStreamTrack.getSettings?
All six browser families in the table have an unprefixed entry without a flag or a partial-implementation marker for this interface. The earliest recorded versions differ across families. A broad row of positive entries still leaves individual members, device access and platform limits to examine.
| Browser family | First recorded standard entry |
|---|---|
| Chrome desktop | Version 59 |
| Firefox desktop | Version 50 |
| Safari on macOS | Version 11 |
| Chrome on Android | Version 59 |
| Firefox on Android | Version 50 |
| Safari on iOS | Version 11 |
Source snapshot: MDN Browser Compatibility Data 8.1.10, 19 November 2026. “Version” is the first recorded entry in this comparison. Individual methods can have later introduction dates.
Plan for the unavailable case
Write the measured settings alongside uploaded evidence. Upscaling a preview changes its pixel count without recovering detail.
"getSettings" in (globalThis.MediaStreamTrack?.prototype ?? {})This expression checks the interface or property in the current JavaScript environment. A positive answer does not run the device test above.
Sources and further reading
- MediaStreamTrack.getSettings reference and member details
- Interface specification
- MDN compatibility data, version 8.1.10
Cover photograph: 2017 Nikon D5300 by Jacek Halicki. CC BY-SA 4.0. Cropped and typeset for this cover. The photograph illustrates the topic. This image adaptation uses the same share-alike license.
