New issue
Advanced search Search tips

Issue 690491 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

getUserMedia should not ask for permissions if constraints cannot be satisfied

Project Member Reported by guidou@chromium.org, Feb 9 2017

Issue description

Chrome asks for permission if getUserMedia is invoked with constraints that cannot be satisfied.
This contradicts the spec.

See steps 6.2.1 and 6.2.3 of
https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia

However, some applications rely on the nonstandard behavior. See  Issue  690336 .
 
Owner: guidou@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cdf688e90e2425c5af4f3450997c83b4dd903a56

commit cdf688e90e2425c5af4f3450997c83b4dd903a56
Author: guidou <guidou@chromium.org>
Date: Fri Mar 17 13:16:50 2017

Do not ask for permissions if getUserMedia() video-device constraints cannot be satisfied.

This is a step towards making getUserMedia() more spec-compliant.
See https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia

BUG= 690491 

Review-Url: https://codereview.chromium.org/2749893004
Cr-Commit-Position: refs/heads/master@{#457746}

[modify] https://crrev.com/cdf688e90e2425c5af4f3450997c83b4dd903a56/content/renderer/media/user_media_client_impl.cc

Status: Fixed (was: Assigned)

Sign in to add a comment