W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > April 2017

Re: [mediacapture-main] What does it mean that the argument to applyConstraints() is optional

From: Adam Bergkvist via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Apr 2017 07:58:39 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-293820133-1492070317-sysbot+gh@w3.org>
I believe the behaviour is specified by this text (applyConstraints algorithm step 3.3):

In a single operation, remove the existing constraints from object, apply
newConstraints, and apply successfulSettings as the current settings.

So if a constraint is set by a first call to applyConstraints, it's wiped by the next call if not re-specified. We could clarify this in an info box.

GitHub Notification of comment by adam-be
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/438#issuecomment-293820133 using your GitHub account
Received on Thursday, 13 April 2017 07:58:46 UTC

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