- From: Harald Alvestrand <harald@alvestrand.no>
- Date: Tue, 19 Nov 2013 16:06:23 +0100
- To: Jim Barnett <Jim.Barnett@genesyslab.com>, Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 11/19/2013 02:59 PM, Jim Barnett wrote: > For getSupportedConstraints, we should think about the details a bit - there may be many Constrainable classes that the UA knows about (MediaRecorder, etc.), so this function would have to return values for all of them. In many cases, this won't be useful because capabilities() gives you the same information once you have an instance of the class, and getting an instance is normally not an issue. It's only with Tracks and gUM that you want to find out what constraints are supported before you get an instance. I thought getSupportedConstraints() was a proposed rename of the Capabilities attribute, but I may have misunderstood that. It could be a static method on the class; I agree that it's not useful as a free-floating thing, since there are multiple Constrainable classes.
Received on Tuesday, 19 November 2013 15:06:52 UTC