W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Oct 2017 16:07:12 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-337280201-1508256059-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:47 UTC