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: Thu, 15 Dec 2016 22:26:17 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-267462724-1481840775-sysbot+gh@w3.org>
> b) That being said, constraints (in my opinion) add value when there
 is some form of contention. 

@gmandyam If two tabs are sharing the same camera and one calls:
```js
new ImageCapture(stream.getVideoTracks()[0]).setOptions({ zoom: 4 });
```
and the other calls:
```js
new ImageCapture(stream.getVideoTracks()[0]).setOptions({ zoom: 1 });
```
at the same time, what happens?

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/124#issuecomment-267462724
 using your GitHub account
Received on Thursday, 15 December 2016 22:26:24 UTC

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