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

I would be curious to know which websites are gathering such getUserMedia constraint failure stats.

I did look at some popular video conferencing web sites and how they use getUserMedia.

For a first-time user, I haven't seen use of any mandatory constraint, except to ask for both audio and video. Ideal constraints are sometimes used to set things like video resolution.

For a second-time user before getUserMedia grant, some websites do use mandatory constraints.
Mostly for deviceId. Constraining video resolution parameters do happen as well (sometimes optional, sometimes mandatory).

For these websites, I doubt that filtering constraintName pre-grant will heart much.
They might adapt easily, should it become a problem by calling:
- getUserMedia with deviceId as mandatory constraint and other constraints as ideal
- applyConstraints if video/audio parameters are not as expected

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

Received on Monday, 28 January 2019 17:04:57 UTC