W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > December 2016

[mediacapture-image] How to resolve conflicts with MediaStreamtrack.constraints needs to be specified

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Dec 2016 12:59:12 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-194043404-1481115550-sysbot+gh@w3.org>
alvestrand has just created a new issue for 
https://github.com/w3c/mediacapture-image:

== How to resolve conflicts with MediaStreamtrack.constraints needs to
 be specified ==
If photo settings directly conflict with those of a MediaStreamTrack 
(such as "width" and "height"), or may cause the track to go out of 
its settings if applied (such as "iso" and "exposure", which may 
affect frame rate), the way to resolve the issue must be specified.

This may be specified as "the track is stopped, the source is 
reconfigured, the image is taken, the track is started", as specified 
as an example under the "takePhoto" option; this needs to be explicit.

The "grabFrame" method doesn't seem to have any such option; it should
 then be clear that it will ignore the photo options that are not 
possible to satisfy on the current track (if that's the intended 
reading).


Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/130 using your GitHub
 account
Received on Wednesday, 7 December 2016 12:59:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:30 UTC