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

AudioWG virtual F2F: AudioOutputContext #2478

Closed
guest271314 opened this issue Feb 26, 2022 · 21 comments
Closed

AudioWG virtual F2F: AudioOutputContext #2478

guest271314 opened this issue Feb 26, 2022 · 21 comments

Comments

@guest271314
Copy link
Contributor

AudioWG virtual F2F:

  • This is desirable, and can be implemented on some systems fully (Jack on Linux for example, or using kernel extensions on other OSes), but is out of scope of the Web Audio API. This is clearly the responsibility of the WebRTC working group, because they deal with device access and permissions. The security considerations are extremely important: without an explicit user consent, the audio of the machine could be exfiltrated to any website.
  • Closing, but we'll follow up in other groups if needed.

Originally posted by @padenot in WebAudio/web-audio-api-v2#106 (comment)

@guest271314

This comment was marked as off-topic.

@guest271314 guest271314 changed the title AudioWG virtual F2F: AudioWG virtual F2F: AudioOutputContext Feb 26, 2022
@hoch
Copy link
Member

hoch commented Mar 10, 2022

As pointed out above, the WG still believes this is out of the scope of Web Audio API.

Is there any specific reason to create a new issue instead of following up on the existing one?

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@padenot
Copy link
Member

padenot commented Mar 14, 2022

Is there anything wrong with getDisplayMedia({audio: true}) ?

https://w3c.github.io/mediacapture-screen-share/#dom-mediadevices-getdisplaymedia

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@padenot
Copy link
Member

padenot commented Aug 29, 2022

It only captures the tab on Linux and macOS, but captures the computer audio on Windows and Chrome OS. It's an OS limitation, there's not much spec work to do.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@padenot
Copy link
Member

padenot commented Aug 30, 2022

Yes, it's possible on Linux desktop as well, but not possible without third-party software on macOS.

Anyway, there is nothing missing on the web platform for this feature, I'm closing this.

@padenot padenot closed this as completed Aug 30, 2022
@guest271314

This comment was marked as off-topic.

@padenot
Copy link
Member

padenot commented Aug 30, 2022

getDisplayMedia({audio: true}) allows capturing the device's output, as you note.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

@guest271314

This comment was marked as off-topic.

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

No branches or pull requests

3 participants