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

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