- From: cowwoc <cowwoc@bbs.darktech.org>
- Date: Fri, 13 Dec 2013 14:33:28 -0500
- To: Martin Thomson <martin.thomson@gmail.com>
- CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 13/12/2013 2:29 PM, Martin Thomson wrote:
> On 13 December 2013 11:21, cowwoc <cowwoc@bbs.darktech.org> wrote:
>> I *need* any resolution between: 800x600 and 1600x1200
>> And ideally I *want*: 1200x900
>
> [ { width: { min: 800, max: 1600 }, height: { min: 600, max: 1200 },
> required: true },
> { width: 1200, height: 900 } ]
>
> That would be easy to use.
So if I understand you correctly, constraints specified by the array are
combined using logical AND.
If I want X rules for aspect ratio 4:3 and Y rules for aspect ratio
16:9, I'd be expected to invoke getUserMedia() once per aspect ratio. Is
that correct?
Thanks,
Gili
Received on Friday, 13 December 2013 19:34:24 UTC