Offer synthetic resolutions for low-res cameras
I have a webcam that produces the smallest of small videos, and it isn't usable in Firefox because none of the smaller resolutions accepted for WebRTC are listed.
$ v4l2-ctl --list-formats-ext -d /dev/video0
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'NV12' (Y/CbCr 4:2:0)
Size: Discrete 256x224
Interval: Discrete 0.125s (8.000 fps)
https://test.webrtc.org/ complains that:
X Check resolution 320x240
X Check resolution 640x480
X Check resolution 1280x720
Check supported resolutions
[ INFO ] 160x120 not supported
[ INFO ] 160x120 not supported
[ INFO ] 320x180 not supported
[ INFO ] 320x240 not supported
[ INFO ] 640x360 not supported
[ INFO ] 640x480 not supported
[ INFO ] 768x576 not supported
[ INFO ] 1024x576 not supported
[ INFO ] 1280x720 not supported
[ INFO ] 1280x768 not supported
[ INFO ] 1280x800 not supported
[ INFO ] 1920x1080 not supported
[ INFO ] 1920x1200 not supported
[ INFO ] 3840x2160 not supported
[ INFO ] 4096x2160 not supported