WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
254 stars 23 forks source link

AudioContext.setSinkId #53

Open ajay-rah opened 2 years ago

ajay-rah commented 2 years ago

Request for position on an emerging web specification

Information about the spec

Design reviews and vendor positions

Anything else we need to know

AudioContext.setSinkId sets the ID of the audio device to use for output. This allows the AudioContext to route audio to a connected output device of user's choosing.

hober commented 2 years ago

cc @jernoble @eric-carlson @jyavenard

youennf commented 1 year ago

This looks ok to me. HTMLMediaElement has a way to set its output and it makes sense to be consistent for AudioContext. It is a bit of a burden for a web page to set sinkId for all individual elements/contexts, maybe there should be something similar in AudioSession API.

hamletmun commented 1 year ago

https://bugs.webkit.org/show_bug.cgi?id=216641

eric-carlson commented 1 year ago

https://bugs.webkit.org/show_bug.cgi?id=216641

That is for HTMLMediaElement.setSinkId, not AudioContext.setSinkId