Re: [mediacapture-main] Update enumerateDevices algorithm to make use of device-kind specific exposure checks when building cameraList and microphoneList. (#900)

> > > Btw, where's the part of the spec that deals with dummy objects?
> > 
> > 
> > "videoinput" and/or "videooutput" `MediaDeviceInfo` objects are all dummy objects when their respective "information can be exposed" flag is false, according to [creating a device info object](https://w3c.github.io/mediacapture-main/#creating-a-device-info-object).
> 
> Ah, the early-exit in steps 3 and 4 (as of the time of this writing). Thanks for clarifying.

Actually, do I read correctly that the presence/absence of a default device can still be deduced by an application, even if a permission is lacking, because a dummy object will not be produced on a machine that has no devices at all?

(This is a separate issue, of course. I'll create a new issue for it if you guys think it's real, or if we cannot settle this in one more iteration. In either case, the current PR - LGTM with the previous caveat of wanting another Chromium reviewer this time.)

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/pull/900#issuecomment-1257709815 using your GitHub account


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

Received on Monday, 26 September 2022 08:53:38 UTC