Re: [webrtc-pc] Section 5.2: centering, scaling, cropping

@stefhak wrt https://github.com/w3c/webrtc-pc/issues/1283#issuecomment-336829691 - my interpretation of the constraints text in MediaCapture is that a platform is allowed, but not required, to let getUserMedia() return a scaled and/or cropped version of what the physical camera produces. The spec talks about a range of possible configurations - platforms that do scaling & cropping offer a very large number of configurations; platforms that don't, don't. That's certainly how Chrome's code works (it does scale to fit with specified constraints, and opens the device in a mode that will allow it to satisfy the constraints by croping and/or scaling).
Hope that makes sense....

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1283#issuecomment-337280201 using your GitHub account

Received on Tuesday, 17 October 2017 16:07:43 UTC