matchClosestResolution
@microblink/camera-manager / matchClosestResolution
Function: matchClosestResolution()
matchClosestResolution(
resolution):"720p"|"1080p"|"4k"
Matches the closest resolution to the given resolution.
Parameters
resolution
The resolution to match.
Returns
"720p" | "1080p" | "4k"
The closest resolution.