[Webkit-unassigned] [Bug 195093] New: Safari 12.1 : Issue with navigator.mediaDevices.enumerateDevices

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 01:56:58 PST 2019


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

            Bug ID: 195093
           Summary: Safari 12.1 : Issue with
                    navigator.mediaDevices.enumerateDevices
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pradeepkumar at bluejeans.com
                CC: youennf at gmail.com

Created attachment 363082

  --> https://bugs.webkit.org/attachment.cgi?id=363082&action=review

Not working safari 12.1

Hi Safari team,

I'm facing issue with `navigator.mediaDevices.enumerateDevices` in Safari 12.1 as not able to get the device Ids when website permission is set to ask for devices. When we set website permission to allow for devices, it works.
However, the same is working on Safari 12.0. So, I'm suspecting something has been introduced in Safari 12.1.

Below is the test code executed into Safari console for testing :
{
navigator.mediaDevices.enumerateDevices().then(function(devices) {
          devices.forEach(function(device) {
            console.log(device.kind + ": " + device.label + " id = " + device.deviceId);
          });
        })
}

-- 
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/20190227/7ab55051/attachment-0001.html>


More information about the webkit-unassigned mailing list