Re: [mediacapture-main] MediaStreamTrack.applyConstraints() should resolve the Promise with the applied constraints

I'd like to know which constraints have been applied after each call as they might not be the ones currently set.

```js
track.applyConstraints(someConstraints).then(appliedConstraints => {
  console.log(appliedConstraints + ' may be different from ' + track.getConstraints());
)};
track.applyConstraints(otherConstraints).then(appliedConstraints => {
  console.log(appliedConstraints + ' may be different from ' + track.getConstraints());
)};
```

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

Received on Monday, 4 September 2017 08:26:04 UTC