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: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Sat, 26 Jan 2019 20:27:30 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-457863371-1548534449-sysbot+gh@w3.org>
If a combination can't be met, the spec says you have to return one of the constraints involved. I think the main use of this feature is running stats on failures, and trying to classify the failures into "something to do with resolutions" vs "something to do with audio parameters".
I wouldn't be opposed to a recommendation of returning the first involved constraint in alphabetical order for the case where there are multiple constraints involved in an overconstrained error; I don't think we should mandate which one to return.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/562#issuecomment-457863371 using your GitHub account
Received on Saturday, 26 January 2019 20:27:31 UTC

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