[mediacapture-output] Permission to "all devices of that class" semantics don't work in selectAudioOutput model (#138)

jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-output:

== Permission to "all devices of that class" semantics don't work in selectAudioOutput model ==
[ยง 4.3 Permissions Integration](https://w3c.github.io/mediacapture-output/#permissions-integration) says: _"If the descriptor does not have a deviceId, its semantic is that it queries for access to all devices of that class."_

"All" here implies access to all currently connected devices AND all devices added in the future, i.e. category access.

But it's not possible to get blanket access to audio output devices as a category in this spec, because (non-microphone-associated) `deviceId`s are only exposed in `enumerateDevices` individually as a result of JS calling `selectAudioOutput` and users picking each device in the UA prompt.

It probably makes more sense to align with https://github.com/w3c/mediacapture-main/pull/932 here.

Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/138 using your GitHub account


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

Received on Monday, 21 August 2023 15:37:26 UTC