Re: [mediacapture-main] Bug in spec: circular dependency for enumerateDevices() (#709)

So now I make that calll, I have no idea whether the device that was opened was the one the user requested.

So here's the minimum practical code to open a user's previous device and present a device selection:

1. Device ID originates from cookie from previous session
1. getUserMedia(deviceId: 'xyzxyzxyzxyz')
1. wait for success
1. close the device
1. getUserMedia(deviceId: { exact: 'xyzxyzxyzxyz' })
1. now call enumerateDevices


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 September 2020 16:53:33 UTC