Summary: | mediaDevices.enumerateDevices() lists output devices as kind 'audioinput' | ||
---|---|---|---|
Product: | WebKit | Reporter: | lepinski |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | alex, eric.carlson, jond, jonlee, lepinski, lwarlow, webkit-bug-importer, xpeng1984, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Mac | ||
OS: | macOS 10.12.4 |
Description
lepinski
2017-06-30 14:46:19 PDT
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" |