- From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Mar 2017 22:12:13 +0000
- To: public-media-capture@w3.org
miguelao has just created a new issue for https://github.com/w3c/mediacapture-main: == What does it mean that the argument to applyConstraints() is optional == Constrainable Pattern method `applyConstraints()` (defined [here](https://w3c.github.io/mediacapture-main/#media-stream-track-interface-definition) and [here](https://w3c.github.io/mediacapture-main/#interface-definition) (*)) takes an `optional {MediaTrack}Constraints constraints`, but what does it mean to call `applyConstraints()` with no argument? Suggest removing the `optional`. FTR [`Gecko implements it like that`](https://github.com/mozilla/gecko-dev/blob/72823b1e95bed9d3edaff79ebd64c391a33e6d7b/dom/webidl/MediaStreamTrack.webidl#L91) whereas Chrome doesn't have it yet (I'm landing it). (*) links are broken: I recommend migrating to bikeshed. Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/438 using your GitHub account
Received on Thursday, 16 March 2017 22:12:19 UTC