Re: [mediacapture-main] What does it mean that the argument to applyConstraints() is optional

Would the following change clarify the situation?

>From the `applyContraints` algorthm:
```
-  2. Let newContraints be the argument to this function
+  2. Let newContraints be the argument to this function, or an empty dictionary if the argument was omitted.
```
Then the empty dictionary would be passed to the `SelectSettings` algorithm.

-- 
GitHub Notification of comment by adam-be
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/438#issuecomment-290378532 using your GitHub account

Received on Thursday, 30 March 2017 11:04:49 UTC