Re: [mediacapture-main] If getUserMedia access is not granted, devicechange event should only be fired if devices of a given type go from 0 to 1 or 1 to 0 (#690)

@youennf thank you for the clarification.  Just to make sure I understand correctly though, can you clarify which of the following is the plan for the spec (the version that will presumably go to rec shortly).

Pre gUM permission, sites that call enumerateDevices receive a promise with:
1. an object describing a single device, regardless of hardware capabilities (my understanding from your comment above)
2. an object describing one device, for each category (e.g. audioinput, audiooutput, videoinput, etc) of device i have on my system (my understanding from the top issue text)
3. an object describing "audioinput" and "videoinput" (exhaustive), regardless of true hardware capabilities (my understanding from previous conversation)

And, if #1 above, what will the shape / values of that return value be?

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

Received on Sunday, 3 May 2020 20:37:00 UTC