[Webkit-unassigned] [Bug 203407] New: enumerateDevices() doesn't return correct list of devices after device was changed by user in a system preferences

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 25 05:16:20 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203407

            Bug ID: 203407
           Summary: enumerateDevices() doesn't return correct list of
                    devices after device was changed by user in a system
                    preferences
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: olsviate at microsoft.com
                CC: youennf at gmail.com

Steps to reproduce:

1. Have two or more available microphones
2. Call getUserMedia and then enumerateDevices: 
browser will return a list of devices, where first one is default
2. Change microphone is system preference
3. Call enumerateDevices again:
first one in the list is a previous default device


Js fiddler to show the issue: https://jsfiddle.net/h38bn7zq/15/


Note: if device is unplugged then enumerateDevices returns correct info, it works correct also when device was plugged in after.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191025/cf1fc1cf/attachment-0001.htm>


More information about the webkit-unassigned mailing list