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: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Dec 2016 17:15:45 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-268022089-1482167744-sysbot+gh@w3.org>
@gmandyam Are you suggesting we move all (how many are there?) 
immediately-applied settings to the track as constraints, and reserve 
`setOptions` for those that get set only during `takePhoto()`?

That could work. `setOptions` wouldn't need to return a promise 
anymore, or we could drop the method entirely in favor of an options 
argument to `takePhoto`.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
 using your GitHub account
Received on Monday, 19 December 2016 17:15:51 UTC

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