[Webkit-unassigned] [Bug 241801] New: [WebRTC] navigator.mediaDevices.enumerateDevices including dummy audio devices.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 03:56:53 PDT 2022


            Bug ID: 241801
           Summary: [WebRTC] navigator.mediaDevices.enumerateDevices
                    including dummy audio devices.
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: macOS 12
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vinayak.kulkarni at bluejeans.com
                CC: youennf at gmail.com

Created attachment 460370

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

Output of enumerateDevices API before and after plugging in USB dock

Steps to reproduce:
1. Open 
https://webrtc.github.io/samples/src/content/devices/input-output/ page on Safari browser and check for the devices available.
2. Connect a USB dock (with ports for Audio Input and Output devices) to your laptop, without connecting any audio devices.
3. Open the pages again and check for the devices available
4. In the list of the devices you can see that USB PnP Audio Device are listed.

These devices (USB PnP Audio Device) are dummy devices and do not correspond to any working device and do not provide any audio stream or audio output functionality.
navigator.mediaDevices.enumerateDevices() output also shows the same output. 

Expected Output:
The list of the devices returned should only contain the actual devices.

Actual Output:
The list contains the dummy devices aswell.

Attaching the output of enumerateDevices API aswell. Please see the difference between *after_usb_dock and *before_usb_dock files.

Will be happy to provide more information on this bug if needed.

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/20220621/da07638d/attachment.htm>

More information about the webkit-unassigned mailing list