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

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