[mediacapture-main] track.applyConstraints() doesn't do anything.

jan-ivar has just created a new issue for 
https://github.com/w3c/mediacapture-main:

== track.applyConstraints() doesn't do anything. ==
Here's the full processing model for [MediaStreamTrack's 
applyConstraints:](http://w3c.github.io/mediacapture-main/getusermedia.html#widl-MediaStreamTrack-applyConstraints-Promise-void--MediaTrackConstraints-constraints):
> See ConstrainablePattern Interface for the definition of this 
method.
> 
> Parameter | Type | Nullable | Optional | Description
> ---------------|--------|------------|-------------|-------------- 
> constraints | MediaTrackConstraints | ✘ | ✘ | A new constraint 
structure to apply to this object.
> Return type: Promise<void>

Unless I'm mistaken, the Constrainable pattern has no concept or 
knowledge of video and audio tracks, so AFAICT all this method does is
 alter what `track.getSettings()` returns. I think most users would 
expect it to do a little more than that: actually change something 
about the video or audio coming out of this track's source.

See https://github.com/w3c/mediacapture-main/issues/246

Received on Thursday, 17 September 2015 20:14:28 UTC