- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Mar 2015 17:03:45 +0000
- To: public-media-capture-logs@w3.org
(@dontcallmedom asked me to move this comment here) I hate to say it but, since the method is called getSupportedConstraints rather than getSupportedCapabilities (which I voted for!) or getSupportedSettings, returning a MediaTrackConstraintSet might have a slight advantage in my mind. On a technical note, choosing that would also let us conveniently return truthy values like this: { width: {}, height: {}, frameRate: {}, facingMode: {} ... } without getting into what the types involved are. That's perhaps a minor issue though, so maybe we'll just keep this in mind as we develop whichever PR we go for. -- GitHub Notif of comment by jan-ivar See https://github.com/w3c/mediacapture-main/issues/116#issuecomment-78099022
Received on Tuesday, 10 March 2015 17:03:54 UTC