Bug 231731 - enumerateDevices showing devices it shouldn't
Summary: enumerateDevices showing devices it shouldn't
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-14 03:56 PDT by Dan Jenkins
Modified: 2021-10-21 03:57 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Jenkins 2021-10-14 03:56:35 PDT
Jsfiddle that shows the issue (open up the dev console)

https://jsfiddle.net/5ywvdcrq/1/

If you ask for mic permissions using getUserMedia, enumerateDevices gives you the names of video inputs as well as audio inputs 

It should only give you the names of the audio devices
Comment 1 Radar WebKit Bug Importer 2021-10-21 03:57:18 PDT
<rdar://problem/84501167>