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

I believe the behaviour is specified by this text (applyConstraints algorithm step 3.3):

```
In a single operation, remove the existing constraints from object, apply
newConstraints, and apply successfulSettings as the current settings.
```

So if a constraint is set by a first call to applyConstraints, it's wiped by the next call if not re-specified. We could clarify this in an info box.

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

Received on Thursday, 13 April 2017 07:58:46 UTC