New issue
Advanced search Search tips

Issue 819604 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Camera settings don't change default

Reported by cwehr...@fuze.com, Mar 7 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.106 Safari/537.36

Steps to reproduce the problem:
(1) Run Chrome with a computer with multiple cameras OR with multiple fake camera devices via command line
chrome --use-fake-device-for-media-stream=device-count=4
(2) Open Chrome Camera settings: chrome://settings/content/camera
(3) Set a different default camera
(3) Run the following code in the console to get the list of devices: 

navigator.mediaDevices.enumerateDevices().then(function(devices) {
  devices.forEach(function(device) {
    if (device.kind == 'videoinput') {
      console.log(device.kind + ": " + device.label +
                " id = " + device.deviceId);
    }
  });
})

What is the expected behavior?
- In web video apps, the default camera should be the one set in Chrome settings
- The mediaDevices.enumerateDevices API should return a device with the "default" flag set to the device picked in Chrome camera settings

What went wrong?
- The default camera is not the one set as default in Chrome settings
- Technically, mediaDevices.enumerateDevices is not returning any "default" camera so web apps just pick the first they find. 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 65.0.3325.106  Channel: beta
OS Version: OS X 10.13.3
Flash Version:
 

Comment 1 by cwehr...@fuze.com, Mar 7 2018

Relates to the general topic of 693746

Comment 2 by cwehr...@fuze.com, Mar 7 2018

Also, many users have been complaining for about a year on public groups / forums about this setting not working: 
- https://productforums.google.com/forum/#!topic/chrome/PRk17uJ31gc
- https://productforums.google.com/forum/#!topic/chrome/JGlW6Ui6ZTs
- https://productforums.google.com/forum/#!topic/chrome/X1_Pq7AGNxQ

Comment 3 by cwehr...@fuze.com, Mar 7 2018

Another developer is telling me the actual bug here is that calling getUserMedia without specifying a deviceId for the camera doesn't pick Chrome settings. 

It's normal that there's no default in enumerateDevices as there's no OS default for that.

Comment 4 by cwehr...@fuze.com, Mar 7 2018

Please close issue for now. I'll file again once I've figured the specific environment where this is not working. Not able to repro right now. Apologies! 
Labels: Needs-Triage-M65
Labels: Triaged-ET
Status: WontFix (was: Unconfirmed)
As per comment #4, closing the issue as wontFix.

Thanks...!!

Sign in to add a comment