Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission to "all devices of that class" semantics don't work in selectAudioOutput model #138

Closed
jan-ivar opened this issue Aug 21, 2023 · 0 comments · Fixed by #139
Closed

Comments

@jan-ivar
Copy link
Member

§ 4.3 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) deviceIds 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 w3c/mediacapture-main#932 here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant