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

> > It does not provide, on its own, sufficient information for widely used cases like getUserMedia({audio: true, video: true})
> 
> Hmm? That's an unconstrained case. It would never fail with _OverconstrainedError_.

I guess it should be a NotFoundError, which does not provide information on which one is missing.

Something like getUserMedia({video: {deviceId: {exact: 'non-existent'}}}) could be used to leak information that a given setup has no camera if this information is not already provided by enumerateDevices.


-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/562#issuecomment-461184852 using your GitHub account

Received on Wednesday, 6 February 2019 20:58:32 UTC