New issue
Advanced search Search tips

Issue 838879 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 834581
Owner: ----
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Changes in video devices list is not detected

Reported by suhanovs...@gmail.com, May 2 2018

Issue description

Chrome Version       :  66.0.3359.139 (Official Build) (64-bit) a020eddf0d85fe84d4a6787b304f50aafb670969-refs/branch-heads/3359@{#767}
URLs (if applicable) : https://webrtc.github.io/samples/src/content/devices/input-output/
OS version               : MacOS 10.13.4 (17E202)
Network (such as Cable/DSL/Dial up etc):
Audio/Video format (if applicable):
Special chrome flags (if applicable):

Behavior in Safari (if known): works as expected
Behavior in Firefox (if known): works as expected

Video issue, Audio issue, both, neither? Video

Flash or HTML5?  HTML5

If the browser or renderer crashed (“Aw, Snap”), please add any crash
IDs from chrome://crashes  (possibly after enabling crash reporting per
http://support.google.com/chrome/bin/answer.py?hl=en&answer=96817)

What steps will reproduce the problem?
(1) Have two cameras on computer. One embedded, the other external.
(2) Enumerate video devices on https://webrtc.github.io/samples/src/content/devices/input-output/. Get 2 video devices as expected.
(3) Detach external camera. Reload https://webrtc.github.io/samples/src/content/devices/input-output/ to enumerate device again. 

What is the expected result? Expected to get 1 video device at step (3).

What is the actual result? Get 2 video devices at step 3.

Any additional information (anything else which may help us debug the
issue)? 
1. Tested programmatically. enumerateDevices() with and without page reload give the same wrong result after cam detach. 
2. navigator.mediaDevices.ondevicechange is fired ok,
3. Both plugging or unplugging of video devices is not detected.
4. It's a regression in chrome 66. It worked on 65. I don't have 65 to test, but I have Chrome/59.0.3071.115 (Electron) and it works there.
5. My external camera has a mic. The change in mics list is detected ok when external camera is detached or attached.


Please attach the HTML5/JavaScript code or audio/video files as well as
screenshot and/or videos (if applicable)

 
IMG_0544-1.m4v
4.2 MB Download
Labels: Needs-Triage-M66
Components: -Internals>Media Blink>WebRTC
Labels: TE-NeedsTriageFromHYD Triaged-ET
As per comment #0, external camera is needed to test the issue. Hence, forwarding the issue to inhouse team for further triaging of the issue.

Thanks...!!
Mergedinto: 834581
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment