Re: [mediacapture-output] The first "audiooutput" `MediaDeviceInfo` returned from `enumerateDevices()` is not the default device when the default device is not exposed (#133)

> I don't see anything in the spec saying the UA cannot choose which devices to expose based on its own policies once the user grants permissions via a prompt.

What permission? What prompt?

The [exposure decision algorithm for devices other than camera and microphone](https://w3c.github.io/mediacapture-output/#dfn-exposure-decision-algorithm-for-devices-other-than-camera-and-microphone) contains no [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) steps, which means the UA cannot choose which devices to expose based on its own policies.

Chrome's exposure of non-miked speakers through enumerateDevices() violates this.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/133#issuecomment-2311167509 using your GitHub account


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

Received on Monday, 26 August 2024 21:54:08 UTC