- From: Jan-Ivar Bruaroey <jib@mozilla.com>
- Date: Mon, 24 Mar 2014 16:01:20 -0400
- To: Jim Barnett <1jhbarnett@gmail.com>, media capture <public-media-capture@w3.org>
Received on Monday, 24 March 2014 20:01:46 UTC
On 3/24/14 1:52 PM, Jim Barnett wrote: > For an example of back-off of tied constraints: > > { > "mandatory": {... > }, > "optional": [{ > "aspectRatio": 15/6 > "width": 500 > }, { > "aspectRatio": 4/3 > "width": 400 > }] > } I'm surprised. Missing commas aside, there's still text in the spec that suggests this is not valid: http://dev.w3.org/2011/webrtc/editor/getusermedia.html#methods-3 says: > 5. For each constraint key-value pair in the "optional" sequence of > the constraints that are for the current media type, in order, > 1. If the constraint is not supported by the browser, skip it and > continue with the next constraint. Where does the spec spell out that multiple key-value pairs in each optional array entry are now allowed? I suppose sequence<ConstraintSet>, but with ConstraintSet being object... this is subtle to say the least. .: Jan-Ivar :.
Received on Monday, 24 March 2014 20:01:46 UTC