W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 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: Wed, 06 Feb 2019 20:58:31 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-461184852-1549486710-sysbot+gh@w3.org>
> > 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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:46 UTC