- From: hills via GitHub <sysbot+gh@w3.org>
- Date: Wed, 02 Sep 2020 16:53:30 +0000
- To: public-webrtc-logs@w3.org
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