[Webkit-unassigned] [Bug 198148] mediaDevices.enumerateDevices() returns empty deviceId

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 26 13:32:44 PDT 2019


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

aksuta at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #3 from aksuta at gmail.com ---
My bad, I did not include getusermedia call in bugreport, it is present in the code. 
This happens after getUserMedia is called and granted. e.g.
if (Modernizr.getusermedia) {
   if (navigator.mediaDevices && navigator.mediaDevices.enumerateDevices) {                                                              
     navigator.mediaDevices.enumerateDevices().then(function(devices) {devices.forEach(function(device) {alert("object: " + JSON.stringify(device));})}).catch(function(err) {}); }
} else {fallback();}

-- 
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/20190526/ae465496/attachment.html>


More information about the webkit-unassigned mailing list