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

Re: [mediacapture-image] Use the constrainable pattern instead of creating a subtly different function set

From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
Date: Tue, 20 Dec 2016 22:27:15 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-268377511-1482272833-sysbot+gh@w3.org>
@jan-ivar I'd like to see the concrete proposal of @alvestrand about 
how this all should look like if we were to 
a) move the "live" settings to the track constraints (that track could
 only be of video type) and 
b) pass all other constraints to `takePhoto()` (so grabFrame() would 
only reflect the "live" settings, which is the current behaviour of 
spec and implementations).

In particular, would a) look like an extension to 
[`MediaTrackSupportedConstraints`](https://www.w3.org/TR/mediacapture-streams/#media-track-supported-constraints)?
 Would it be added to the `Media Capture and Streams` Spec (which is 
now CR)?

>From the implementation POV, I'd love for this debate to be closed 
ASAP so I can adapt Chromium either way. @jan-ivar , what are the 
plans to implement takePhoto() and the settings in FF?




-- 
GitHub Notification of comment by miguelao
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/124#issuecomment-268377511
 using your GitHub account
Received on Tuesday, 20 December 2016 22:27:21 UTC

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