Re: [mediacapture-main] Only reveal labels of devices user has given permission to (#640)

When `getUserMedia({audio: true, video:  true})` is executed the user should be able to select _**multiple**_ devices. Simply drag and drop or arrow selection can be used to move selections in a list to the top of the list for initial capture of primary video and audio device (singular, respectively) as to `MediaStream` resolved by `getUSerMedia()` - though still simultaneously have access to the other selected devices (plural) via `enumerateDevices()`. **_Only_** those initially selected devices will be listed and thus available for selecting and listed by `enumerateDevices()` during the granted permission session. Otherwise `enumerateDevices()` returns an empty list, or list with empty strings for values, if accessing devices without permission is an issue.

![Screenshot_2020-07-02_16-05-07](https://user-images.githubusercontent.com/4174848/86385331-a0087a00-bc7f-11ea-9069-7330c7aa26c6.png)

![Screenshot_2020-07-02_16-05-51](https://user-images.githubusercontent.com/4174848/86385334-a139a700-bc7f-11ea-8f0d-a86211f10c02.png)


-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/640#issuecomment-653101766 using your GitHub account

Received on Thursday, 2 July 2020 16:18:24 UTC