W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

Re: [mediacapture-main] What constraint name should be exposed in case of a getUserMedia query with multiple failing constraints (#562)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Jan 2019 23:28:42 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-457397611-1548372521-sysbot+gh@w3.org>
I am not opposed to this change if people want to implement it. But this requires to process all constraints. Some implementations may prefer to stop processing after the first failure.
This proposal adds to the overall complexity of the implementation with the inherent risk of bugs.
Is that worth it?

I would prefer the spec to allow returning an empty constraint name (in pre-grant case at least), for the sake of simplicity. As an additional bonus, that means writing less WPT tests to cover this area. Looking at them, it seems we have work to be done to cover OverConstraintError.


-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/562#issuecomment-457397611 using your GitHub account
Received on Thursday, 24 January 2019 23:28:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:54 UTC