- From: cowwoc <cowwoc@bbs.darktech.org>
- Date: Wed, 13 Nov 2013 15:36:16 -0500
- To: Jan-Ivar Bruaroey <jib@mozilla.com>, public-media-capture@w3.org
Received on Wednesday, 13 November 2013 20:37:00 UTC
Why do we need to separate mandatory and optional constraints at all? Let the user specify an ordered list of constraints and let the browser fire "overconstrained" if it can't meet any of them. The mandatory/optional model false assumes that the initial constraints will be achievable throughout the lifetime of the session. If you use the model I mentioned the application is free to adjust to changing conditions and it can still enforce mandatory constraints as it wants (using the "overconstrained" event). Gili On 13/11/2013 2:45 PM, Jan-Ivar Bruaroey wrote: > On 11/13/13 1:51 PM, cowwoc wrote: >> Why are constraints unordered? It would be nice to order them from >> high priority to low priority. Meaning, I want to be able to say >> "favor 1080p over 640x480". > > Use optional for preference.
Received on Wednesday, 13 November 2013 20:37:00 UTC