NEW 174043
mediaDevices.enumerateDevices() lists output devices as kind 'audioinput'
https://bugs.webkit.org/show_bug.cgi?id=174043
Summary mediaDevices.enumerateDevices() lists output devices as kind 'audioinput'
lepinski
Reported 2017-06-30 14:46:19 PDT
(I believe this is a "regression" introduced in the latest Safari Technology Preview (WebKit 12604.1.27.0.1), although previously audio output devices were not enumerated at all.) - call navigator.mediaDevices.enumerateDevices() - "Built-in Output" is returned in the list, but its kind is listed as "audioinput", instead of "audiooutput" I've tested this a MacBook Pro (Retina, 13-inch, Early 2015), running macOS 10.12.5.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-07-01 10:53:21 PDT
xpeng
Comment 2 2017-11-23 23:28:10 PST
the issue can be reproduced in safari 11.0.1. Step 1: plugin an audio device and getusermedia to select the device Step 2: plugout out the audio device in use Step 3: plugin the audio device again and check the device list calling navigator.mediaDevices.enumerateDevices(); Result : there will be a fake device : kind : "audioinput", label :"Built-in Output"
Note You need to log in before you can comment on or make changes to this bug.