Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-10-04 Thread Yoav Weiss
LGTM3

On Wed, Oct 5, 2022, 00:54 TAMURA, Kent  wrote:

> LGTM2.
> Mozilla is positive. Interoperability risk looks small.
>
>
> On Wed, Oct 5, 2022 at 7:08 AM Mike Taylor  wrote:
>
>> LGTM1
>>
>> On 10/4/22 5:30 PM, Hongchan Choi wrote:
>>
>> The spec change has been landed:
>> https://webaudio.github.io/web-audio-api/#dom-audiocontext-setsinkid
>>
>> -Hongchan
>>
>>
>> On Tue, Oct 4, 2022 at 7:40 AM Hongchan Choi 
>> wrote:
>>
>>> The spec PR is approved
>>>  and we'll be
>>> landing the spec change today or tomorrow. In the meantime, we would like
>>> to answer any questions for the Blink API Owner approval.
>>>
>>> Cheers,
>>> Hongchan
>>>
>>>
>>> On Tue, Oct 4, 2022 at 1:16 AM Mike West  wrote:
>>>
 Friendly ping. It looks like conversation died down ~2 weeks ago. Has
 there been movement in the meantime, or should we consider this intent on
 hold for a while?

 -mike

 On Tuesday, September 20, 2022 at 11:21:13 AM UTC+2 Yoav Weiss wrote:

> Once the PR lands, this seems fine to ship (IMO). Let us know when
> that happens :)
>
> On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi 
> wrote:
>
>> The original proposal didn't work out well because of the type
>> confusion in the union (DOMString or AudioSinkCategory) - they are both
>> DOMString in the end. So we are considering two options:
>>
>> https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445
>>
>> There's no disagreement. We just need to make a decision, and that is
>> planned during this TPAC.
>>
>> Let me know if you have any questions!
>>
>> Thanks,
>> Hongchan
>>
>>
>> On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss 
>> wrote:
>>
>>>
>>>
>>> On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2
>>> ajayra...@google.com wrote:
>>>
 Please let us know of any other questions, concerns or
 observations.

 Thanks in advance.

 -Ajay

 On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar
 wrote:

> We have filed requests for position. Please see below:
>
> Mozilla: https://github.com/mozilla/standards-positions/issues/683
> Webkit: https://github.com/WebKit/standards-positions/issues/53
>
> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson <
> chri...@chromium.org> wrote:
>
 Thanks for filing the TAG review. Could you also file for official
>> positions from Mozilla and Webkit also? Thanks. I'm sure you're 
>> right about
>> Mozilla, but they've requested going through the process in the past 
>> for
>> other intents.
>>
>> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi <
>> hong...@chromium.org> wrote:
>>
> 1. Yes. The lack of implementation is one issue, but the
>>> relationship between selectAudioOutput() and Web Audio API is not 
>>> really
>>> specified or documented.
>>> 2. Since AudioElement.setSinkId() has been used for years, we
>>> believe it makes more sense to use the same pattern for its 
>>> low-level
>>> counterpart - Web Audio API's AudioContext. This approach is more 
>>> specific
>>> and focused.
>>>
>>>
>>> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
>>> philipp...@googlemail.com> wrote:
>>>
>> the ID of the sink needs to be obtained from
 navigator.mediaDevices.enumerateDevices because
 https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
 is not implemented anywhere?

 Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
 blink-dev :

>>> Contact emails
>
> hong...@chromium.org, alv...@chromium.org,
> mjwi...@chromium.org
>
> Explainer
>
> None
>
> Specification
>
> https://github.com/WebAudio/web-audio-api/pull/2498
>

>>> The PR hasn't landed yet, and Mozilla's (positive) position states
>>> that there are some details to be determined still.
>>> Can you expand on that? What's holding the PR from landing?
>>>
>>>
> Summary
>
> AudioContext.setSinkId sets the ID of the audio device to use
> for output. This allows the AudioElement to route audio to a 
> connected
> output device of user's choosing.
>
>
> Blink component
>
> Blink>WebAudio
> 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-10-04 Thread TAMURA, Kent
LGTM2.
Mozilla is positive. Interoperability risk looks small.


On Wed, Oct 5, 2022 at 7:08 AM Mike Taylor  wrote:

> LGTM1
>
> On 10/4/22 5:30 PM, Hongchan Choi wrote:
>
> The spec change has been landed:
> https://webaudio.github.io/web-audio-api/#dom-audiocontext-setsinkid
>
> -Hongchan
>
>
> On Tue, Oct 4, 2022 at 7:40 AM Hongchan Choi 
> wrote:
>
>> The spec PR is approved
>>  and we'll be
>> landing the spec change today or tomorrow. In the meantime, we would like
>> to answer any questions for the Blink API Owner approval.
>>
>> Cheers,
>> Hongchan
>>
>>
>> On Tue, Oct 4, 2022 at 1:16 AM Mike West  wrote:
>>
>>> Friendly ping. It looks like conversation died down ~2 weeks ago. Has
>>> there been movement in the meantime, or should we consider this intent on
>>> hold for a while?
>>>
>>> -mike
>>>
>>> On Tuesday, September 20, 2022 at 11:21:13 AM UTC+2 Yoav Weiss wrote:
>>>
 Once the PR lands, this seems fine to ship (IMO). Let us know when that
 happens :)

 On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi 
 wrote:

> The original proposal didn't work out well because of the type
> confusion in the union (DOMString or AudioSinkCategory) - they are both
> DOMString in the end. So we are considering two options:
>
> https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445
>
> There's no disagreement. We just need to make a decision, and that is
> planned during this TPAC.
>
> Let me know if you have any questions!
>
> Thanks,
> Hongchan
>
>
> On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss 
> wrote:
>
>>
>>
>> On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2
>> ajayra...@google.com wrote:
>>
>>> Please let us know of any other questions, concerns or
>>> observations.
>>>
>>> Thanks in advance.
>>>
>>> -Ajay
>>>
>>> On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar
>>> wrote:
>>>
 We have filed requests for position. Please see below:

 Mozilla: https://github.com/mozilla/standards-positions/issues/683
 Webkit: https://github.com/WebKit/standards-positions/issues/53

 On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson <
 chri...@chromium.org> wrote:

>>> Thanks for filing the TAG review. Could you also file for official
> positions from Mozilla and Webkit also? Thanks. I'm sure you're right 
> about
> Mozilla, but they've requested going through the process in the past 
> for
> other intents.
>
> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi <
> hong...@chromium.org> wrote:
>
 1. Yes. The lack of implementation is one issue, but the
>> relationship between selectAudioOutput() and Web Audio API is not 
>> really
>> specified or documented.
>> 2. Since AudioElement.setSinkId() has been used for years, we
>> believe it makes more sense to use the same pattern for its low-level
>> counterpart - Web Audio API's AudioContext. This approach is more 
>> specific
>> and focused.
>>
>>
>> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
>> philipp...@googlemail.com> wrote:
>>
> the ID of the sink needs to be obtained from
>>> navigator.mediaDevices.enumerateDevices because
>>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>>> is not implemented anywhere?
>>>
>>> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
>>> blink-dev :
>>>
>> Contact emails

 hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org


 Explainer

 None

 Specification

 https://github.com/WebAudio/web-audio-api/pull/2498

>>>
>> The PR hasn't landed yet, and Mozilla's (positive) position states
>> that there are some details to be determined still.
>> Can you expand on that? What's holding the PR from landing?
>>
>>
 Summary

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


 Blink component

 Blink>WebAudio
 

 TAG review

 This is a small API change within Web Audio API. The WG was
 advised that this is too small for the TAG review.

 TAG 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-10-04 Thread Mike Taylor

LGTM1

On 10/4/22 5:30 PM, Hongchan Choi wrote:
The spec change has been landed: 
https://webaudio.github.io/web-audio-api/#dom-audiocontext-setsinkid


-Hongchan


On Tue, Oct 4, 2022 at 7:40 AM Hongchan Choi  
wrote:


The spec PR is approved
 and we'll be
landing the spec change today or tomorrow. In the meantime, we
would like to answer any questions for the Blink API Owner approval.

Cheers,
Hongchan


On Tue, Oct 4, 2022 at 1:16 AM Mike West  wrote:

Friendly ping. It looks like conversation died down ~2 weeks
ago. Has there been movement in the meantime, or should we
consider this intent on hold for a while?

-mike

On Tuesday, September 20, 2022 at 11:21:13 AM UTC+2 Yoav Weiss
wrote:

Once the PR lands, this seems fine to ship (IMO). Let us
know when that happens :)

On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi
 wrote:

The original proposal didn't work out well because of
the type confusion in the union (DOMString or
AudioSinkCategory) - they are both DOMString in the
end. So we are considering two options:

https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445

There's no disagreement. We just need to make a
decision, and that is planned during this TPAC.

Let me know if you have any questions!

Thanks,
Hongchan


On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss
 wrote:



On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2
ajayra...@google.com wrote:

Please let us know of any other questions,
concerns or observations.

Thanks in advance.

-Ajay

On Wednesday, August 31, 2022 at 2:54:14 PM
UTC-7 Ajay Rahatekar wrote:

We have filed requests for position.
Please see below:

Mozilla:

https://github.com/mozilla/standards-positions/issues/683

Webkit:

https://github.com/WebKit/standards-positions/issues/53

On Wed, Aug 31, 2022 at 8:54 AM Chris
Harrelson  wrote:

Thanks for filing the TAG review.
Could you also file for official
positions from Mozilla and Webkit
also? Thanks. I'm sure you're right
about Mozilla, but they've requested
going through the process in the past
for other intents.

On Wed, Aug 31, 2022 at 8:08 AM
Hongchan Choi 
wrote:

1. Yes. The lack of implementation
is one issue, but the relationship
between selectAudioOutput() and
Web Audio API is not really
specified or documented.
2. Since AudioElement.setSinkId()
has been used for years, we
believe it makes more sense to use
the same pattern for its low-level
counterpart - Web Audio
API's AudioContext. This approach
is more specific and focused.


On Tue, Aug 30, 2022 at 10:46 PM
Philipp Hancke
 wrote:

the ID of the sink needs to be
obtained from
navigator.mediaDevices.enumerateDevices
because

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
is not implemented anywhere?

Am Di., 30. Aug. 2022 um
19:02 Uhr schrieb 'Ajay
Rahatekar' via blink-dev
:


Contact emails

hong...@chromium.org,
   

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-10-04 Thread Hongchan Choi
The spec change has been landed:
https://webaudio.github.io/web-audio-api/#dom-audiocontext-setsinkid

-Hongchan


On Tue, Oct 4, 2022 at 7:40 AM Hongchan Choi  wrote:

> The spec PR is approved
>  and we'll be
> landing the spec change today or tomorrow. In the meantime, we would like
> to answer any questions for the Blink API Owner approval.
>
> Cheers,
> Hongchan
>
>
> On Tue, Oct 4, 2022 at 1:16 AM Mike West  wrote:
>
>> Friendly ping. It looks like conversation died down ~2 weeks ago. Has
>> there been movement in the meantime, or should we consider this intent on
>> hold for a while?
>>
>> -mike
>>
>> On Tuesday, September 20, 2022 at 11:21:13 AM UTC+2 Yoav Weiss wrote:
>>
>>> Once the PR lands, this seems fine to ship (IMO). Let us know when that
>>> happens :)
>>>
>>> On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi 
>>> wrote:
>>>
 The original proposal didn't work out well because of the type
 confusion in the union (DOMString or AudioSinkCategory) - they are both
 DOMString in the end. So we are considering two options:

 https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445

 There's no disagreement. We just need to make a decision, and that is
 planned during this TPAC.

 Let me know if you have any questions!

 Thanks,
 Hongchan


 On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss 
 wrote:

>
>
> On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2
> ajayra...@google.com wrote:
>
>> Please let us know of any other questions, concerns or observations.
>>
>> Thanks in advance.
>>
>> -Ajay
>>
>> On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar
>> wrote:
>>
>>> We have filed requests for position. Please see below:
>>>
>>> Mozilla: https://github.com/mozilla/standards-positions/issues/683
>>> Webkit: https://github.com/WebKit/standards-positions/issues/53
>>>
>>> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson <
>>> chri...@chromium.org> wrote:
>>>
>> Thanks for filing the TAG review. Could you also file for official
 positions from Mozilla and Webkit also? Thanks. I'm sure you're right 
 about
 Mozilla, but they've requested going through the process in the past 
 for
 other intents.

 On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi 
 wrote:

>>> 1. Yes. The lack of implementation is one issue, but the
> relationship between selectAudioOutput() and Web Audio API is not 
> really
> specified or documented.
> 2. Since AudioElement.setSinkId() has been used for years, we
> believe it makes more sense to use the same pattern for its low-level
> counterpart - Web Audio API's AudioContext. This approach is more 
> specific
> and focused.
>
>
> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
> philipp...@googlemail.com> wrote:
>
 the ID of the sink needs to be obtained from
>> navigator.mediaDevices.enumerateDevices because
>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>> is not implemented anywhere?
>>
>> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
>> blink-dev :
>>
> Contact emails
>>>
>>> hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org
>>>
>>> Explainer
>>>
>>> None
>>>
>>> Specification
>>>
>>> https://github.com/WebAudio/web-audio-api/pull/2498
>>>
>>
> The PR hasn't landed yet, and Mozilla's (positive) position states
> that there are some details to be determined still.
> Can you expand on that? What's holding the PR from landing?
>
>
>>> Summary
>>>
>>> AudioContext.setSinkId sets the ID of the audio device to use
>>> for output. This allows the AudioElement to route audio to a 
>>> connected
>>> output device of user's choosing.
>>>
>>>
>>> Blink component
>>>
>>> Blink>WebAudio
>>> 
>>>
>>> TAG review
>>>
>>> This is a small API change within Web Audio API. The WG was
>>> advised that this is too small for the TAG review.
>>>
>>> TAG review status
>>>
>>> Not applicable
>>>
>>> Risks
>>>
>>> Interoperability and Compatibility
>>>
>>> Gecko: Positive (
>>> https://github.com/WebAudio/web-audio-api/issues/2400) Mozilla
>>> is co-developing the spec change.
>>>
>>> WebKit: No signal
>>>

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-10-04 Thread Hongchan Choi
The spec PR is approved
 and we'll be landing
the spec change today or tomorrow. In the meantime, we would like to answer
any questions for the Blink API Owner approval.

Cheers,
Hongchan


On Tue, Oct 4, 2022 at 1:16 AM Mike West  wrote:

> Friendly ping. It looks like conversation died down ~2 weeks ago. Has
> there been movement in the meantime, or should we consider this intent on
> hold for a while?
>
> -mike
>
> On Tuesday, September 20, 2022 at 11:21:13 AM UTC+2 Yoav Weiss wrote:
>
>> Once the PR lands, this seems fine to ship (IMO). Let us know when that
>> happens :)
>>
>> On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi 
>> wrote:
>>
>>> The original proposal didn't work out well because of the type confusion
>>> in the union (DOMString or AudioSinkCategory) - they are both DOMString in
>>> the end. So we are considering two options:
>>>
>>> https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445
>>>
>>> There's no disagreement. We just need to make a decision, and that is
>>> planned during this TPAC.
>>>
>>> Let me know if you have any questions!
>>>
>>> Thanks,
>>> Hongchan
>>>
>>>
>>> On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss 
>>> wrote:
>>>


 On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2 ajayra...@google.com
 wrote:

> Please let us know of any other questions, concerns or observations.
>
> Thanks in advance.
>
> -Ajay
>
> On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar wrote:
>
>> We have filed requests for position. Please see below:
>>
>> Mozilla: https://github.com/mozilla/standards-positions/issues/683
>> Webkit: https://github.com/WebKit/standards-positions/issues/53
>>
>> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson 
>> wrote:
>>
> Thanks for filing the TAG review. Could you also file for official
>>> positions from Mozilla and Webkit also? Thanks. I'm sure you're right 
>>> about
>>> Mozilla, but they've requested going through the process in the past for
>>> other intents.
>>>
>>> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi 
>>> wrote:
>>>
>> 1. Yes. The lack of implementation is one issue, but the relationship
 between selectAudioOutput() and Web Audio API is not really specified 
 or
 documented.
 2. Since AudioElement.setSinkId() has been used for years, we
 believe it makes more sense to use the same pattern for its low-level
 counterpart - Web Audio API's AudioContext. This approach is more 
 specific
 and focused.


 On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
 philipp...@googlemail.com> wrote:

>>> the ID of the sink needs to be obtained from
> navigator.mediaDevices.enumerateDevices because
> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
> is not implemented anywhere?
>
> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
> blink-dev :
>
 Contact emails
>>
>> hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org
>>
>> Explainer
>>
>> None
>>
>> Specification
>>
>> https://github.com/WebAudio/web-audio-api/pull/2498
>>
>
 The PR hasn't landed yet, and Mozilla's (positive) position states that
 there are some details to be determined still.
 Can you expand on that? What's holding the PR from landing?


>> Summary
>>
>> AudioContext.setSinkId sets the ID of the audio device to use for
>> output. This allows the AudioElement to route audio to a connected 
>> output
>> device of user's choosing.
>>
>>
>> Blink component
>>
>> Blink>WebAudio
>> 
>>
>> TAG review
>>
>> This is a small API change within Web Audio API. The WG was
>> advised that this is too small for the TAG review.
>>
>> TAG review status
>>
>> Not applicable
>>
>> Risks
>>
>> Interoperability and Compatibility
>>
>> Gecko: Positive (
>> https://github.com/WebAudio/web-audio-api/issues/2400) Mozilla
>> is co-developing the spec change.
>>
>> WebKit: No signal
>>
>> Web developers: Positive (
>> https://github.com/WebAudio/web-audio-api/issues/2400) Many
>> developers chimed in the spec issue and the implementation crbug 
>> entry (
>> crbug.com/1216187). Also several partners expressed the need for
>> this API. We have not seen any negative feedback on this.
>>

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-10-04 Thread Mike West
Friendly ping. It looks like conversation died down ~2 weeks ago. Has there 
been movement in the meantime, or should we consider this intent on hold 
for a while?

-mike

On Tuesday, September 20, 2022 at 11:21:13 AM UTC+2 Yoav Weiss wrote:

> Once the PR lands, this seems fine to ship (IMO). Let us know when that 
> happens :)
>
> On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi  
> wrote:
>
>> The original proposal didn't work out well because of the type confusion 
>> in the union (DOMString or AudioSinkCategory) - they are both DOMString in 
>> the end. So we are considering two options:
>>
>> https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445
>>
>> There's no disagreement. We just need to make a decision, and that is 
>> planned during this TPAC.
>>
>> Let me know if you have any questions!
>>
>> Thanks,
>> Hongchan
>>
>>
>> On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss  
>> wrote:
>>
>>>
>>>
>>> On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2 ajayra...@google.com 
>>> wrote:
>>>
 Please let us know of any other questions, concerns or observations. 

 Thanks in advance.

 -Ajay

 On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar wrote:

> We have filed requests for position. Please see below:
>
> Mozilla: https://github.com/mozilla/standards-positions/issues/683
> Webkit: https://github.com/WebKit/standards-positions/issues/53
>
> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson  
> wrote:
>
 Thanks for filing the TAG review. Could you also file for official 
>> positions from Mozilla and Webkit also? Thanks. I'm sure you're right 
>> about 
>> Mozilla, but they've requested going through the process in the past for 
>> other intents.
>>
>> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi  
>> wrote:
>>
> 1. Yes. The lack of implementation is one issue, but the relationship 
>>> between selectAudioOutput() and Web Audio API is not really specified 
>>> or 
>>> documented.
>>> 2. Since AudioElement.setSinkId() has been used for years, we 
>>> believe it makes more sense to use the same pattern for its low-level 
>>> counterpart - Web Audio API's AudioContext. This approach is more 
>>> specific 
>>> and focused.
>>>
>>>
>>> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
>>> philipp...@googlemail.com> wrote:
>>>
>> the ID of the sink needs to be obtained from 
 navigator.mediaDevices.enumerateDevices because 
 https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
  
 is not implemented anywhere?

 Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via 
 blink-dev :

>>> Contact emails
>
> hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org 
>
> Explainer
>
> None
>
> Specification
>
> https://github.com/WebAudio/web-audio-api/pull/2498
>

>>> The PR hasn't landed yet, and Mozilla's (positive) position states that 
>>> there are some details to be determined still.
>>> Can you expand on that? What's holding the PR from landing?
>>>
>>>
> Summary
>
> AudioContext.setSinkId sets the ID of the audio device to use for 
> output. This allows the AudioElement to route audio to a connected 
> output 
> device of user's choosing.
>
>
> Blink component
>
> Blink>WebAudio 
> 
>
> TAG review
>
> This is a small API change within Web Audio API. The WG was 
> advised that this is too small for the TAG review.
>
> TAG review status
>
> Not applicable
>
> Risks
>
> Interoperability and Compatibility
>
> Gecko: Positive (
> https://github.com/WebAudio/web-audio-api/issues/2400) Mozilla is 
> co-developing the spec change.
>
> WebKit: No signal
>
> Web developers: Positive (
> https://github.com/WebAudio/web-audio-api/issues/2400) Many 
> developers chimed in the spec issue and the implementation crbug 
> entry (
> crbug.com/1216187). Also several partners expressed the need for 
> this API. We have not seen any negative feedback on this.
>
> Other signals:
>
> WebView application risks
>
> Does this intent deprecate or change behavior of existing APIs, 
> such that it has potentially high risk for Android WebView-based 
> applications?
>
>
> Debuggability
>
> This adds a new method to AudioContext; the WebIDL change will be 
> 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-09-20 Thread Yoav Weiss
Once the PR lands, this seems fine to ship (IMO). Let us know when that
happens :)

On Wed, Sep 14, 2022 at 5:56 PM Hongchan Choi  wrote:

> The original proposal didn't work out well because of the type confusion
> in the union (DOMString or AudioSinkCategory) - they are both DOMString in
> the end. So we are considering two options:
>
> https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445
>
> There's no disagreement. We just need to make a decision, and that is
> planned during this TPAC.
>
> Let me know if you have any questions!
>
> Thanks,
> Hongchan
>
>
> On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss  wrote:
>
>>
>>
>> On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2 ajayra...@google.com
>> wrote:
>>
>>> Please let us know of any other questions, concerns or observations.
>>>
>>> Thanks in advance.
>>>
>>> -Ajay
>>>
>>> On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar wrote:
>>>
 We have filed requests for position. Please see below:

 Mozilla: https://github.com/mozilla/standards-positions/issues/683
 Webkit: https://github.com/WebKit/standards-positions/issues/53

 On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson 
 wrote:

>>> Thanks for filing the TAG review. Could you also file for official
> positions from Mozilla and Webkit also? Thanks. I'm sure you're right 
> about
> Mozilla, but they've requested going through the process in the past for
> other intents.
>
> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi 
> wrote:
>
 1. Yes. The lack of implementation is one issue, but the relationship
>> between selectAudioOutput() and Web Audio API is not really specified or
>> documented.
>> 2. Since AudioElement.setSinkId() has been used for years, we believe
>> it makes more sense to use the same pattern for its low-level 
>> counterpart -
>> Web Audio API's AudioContext. This approach is more specific and focused.
>>
>>
>> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
>> philipp...@googlemail.com> wrote:
>>
> the ID of the sink needs to be obtained from
>>> navigator.mediaDevices.enumerateDevices because
>>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>>> is not implemented anywhere?
>>>
>>> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
>>> blink-dev :
>>>
>> Contact emails

 hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org

 Explainer

 None

 Specification

 https://github.com/WebAudio/web-audio-api/pull/2498

>>>
>> The PR hasn't landed yet, and Mozilla's (positive) position states that
>> there are some details to be determined still.
>> Can you expand on that? What's holding the PR from landing?
>>
>>
 Summary

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


 Blink component

 Blink>WebAudio
 

 TAG review

 This is a small API change within Web Audio API. The WG was advised
 that this is too small for the TAG review.

 TAG review status

 Not applicable

 Risks

 Interoperability and Compatibility

 Gecko: Positive (
 https://github.com/WebAudio/web-audio-api/issues/2400) Mozilla is
 co-developing the spec change.

 WebKit: No signal

 Web developers: Positive (
 https://github.com/WebAudio/web-audio-api/issues/2400) Many
 developers chimed in the spec issue and the implementation crbug entry 
 (
 crbug.com/1216187). Also several partners expressed the need for
 this API. We have not seen any negative feedback on this.

 Other signals:

 WebView application risks

 Does this intent deprecate or change behavior of existing APIs,
 such that it has potentially high risk for Android WebView-based
 applications?


 Debuggability

 This adds a new method to AudioContext; the WebIDL change will be
 addressed by the DevTools automatically.


 Will this feature be supported on all six Blink platforms (Windows,
 Mac, Linux, Chrome OS, Android, and Android WebView)?

 Yes

 This is a part of Web Audio API, which is available on all
 platforms.


 Is this feature fully tested by web-platform-tests
 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-09-14 Thread Hongchan Choi
The original proposal didn't work out well because of the type confusion in
the union (DOMString or AudioSinkCategory) - they are both DOMString in the
end. So we are considering two options:
https://github.com/WebAudio/web-audio-api/issues/2400#issuecomment-1239704445

There's no disagreement. We just need to make a decision, and that is
planned during this TPAC.

Let me know if you have any questions!

Thanks,
Hongchan


On Wed, Sep 14, 2022 at 8:43 AM Yoav Weiss  wrote:

>
>
> On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2 ajayra...@google.com
> wrote:
>
>> Please let us know of any other questions, concerns or observations.
>>
>> Thanks in advance.
>>
>> -Ajay
>>
>> On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar wrote:
>>
>>> We have filed requests for position. Please see below:
>>>
>>> Mozilla: https://github.com/mozilla/standards-positions/issues/683
>>> Webkit: https://github.com/WebKit/standards-positions/issues/53
>>>
>>> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson 
>>> wrote:
>>>
>> Thanks for filing the TAG review. Could you also file for official
 positions from Mozilla and Webkit also? Thanks. I'm sure you're right about
 Mozilla, but they've requested going through the process in the past for
 other intents.

 On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi 
 wrote:

>>> 1. Yes. The lack of implementation is one issue, but the relationship
> between selectAudioOutput() and Web Audio API is not really specified or
> documented.
> 2. Since AudioElement.setSinkId() has been used for years, we believe
> it makes more sense to use the same pattern for its low-level counterpart 
> -
> Web Audio API's AudioContext. This approach is more specific and focused.
>
>
> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
> philipp...@googlemail.com> wrote:
>
 the ID of the sink needs to be obtained from
>> navigator.mediaDevices.enumerateDevices because
>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>> is not implemented anywhere?
>>
>> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
>> blink-dev :
>>
> Contact emails
>>>
>>> hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org
>>>
>>> Explainer
>>>
>>> None
>>>
>>> Specification
>>>
>>> https://github.com/WebAudio/web-audio-api/pull/2498
>>>
>>
> The PR hasn't landed yet, and Mozilla's (positive) position states that
> there are some details to be determined still.
> Can you expand on that? What's holding the PR from landing?
>
>
>>> Summary
>>>
>>> AudioContext.setSinkId sets the ID of the audio device to use for
>>> output. This allows the AudioElement to route audio to a connected 
>>> output
>>> device of user's choosing.
>>>
>>>
>>> Blink component
>>>
>>> Blink>WebAudio
>>> 
>>>
>>> TAG review
>>>
>>> This is a small API change within Web Audio API. The WG was advised
>>> that this is too small for the TAG review.
>>>
>>> TAG review status
>>>
>>> Not applicable
>>>
>>> Risks
>>>
>>> Interoperability and Compatibility
>>>
>>> Gecko: Positive (
>>> https://github.com/WebAudio/web-audio-api/issues/2400) Mozilla is
>>> co-developing the spec change.
>>>
>>> WebKit: No signal
>>>
>>> Web developers: Positive (
>>> https://github.com/WebAudio/web-audio-api/issues/2400) Many
>>> developers chimed in the spec issue and the implementation crbug entry (
>>> crbug.com/1216187). Also several partners expressed the need for
>>> this API. We have not seen any negative feedback on this.
>>>
>>> Other signals:
>>>
>>> WebView application risks
>>>
>>> Does this intent deprecate or change behavior of existing APIs, such
>>> that it has potentially high risk for Android WebView-based 
>>> applications?
>>>
>>>
>>> Debuggability
>>>
>>> This adds a new method to AudioContext; the WebIDL change will be
>>> addressed by the DevTools automatically.
>>>
>>>
>>> Will this feature be supported on all six Blink platforms (Windows,
>>> Mac, Linux, Chrome OS, Android, and Android WebView)?
>>>
>>> Yes
>>>
>>> This is a part of Web Audio API, which is available on all platforms.
>>>
>>>
>>> Is this feature fully tested by web-platform-tests
>>> 
>>> ?
>>>
>>> Yes. The WPT will be added for this feature.
>>>
>>> Flag name
>>>
>>> –enable-blink-features=AudioContextSetSinkId
>>>
>>> Requires code in //chrome?
>>>
>>> False
>>>
>>> Tracking bug
>>>
>>> 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-09-14 Thread Yoav Weiss


On Tuesday, September 13, 2022 at 4:16:15 PM UTC+2 ajayra...@google.com 
wrote:

> Please let us know of any other questions, concerns or observations. 
>
> Thanks in advance.
>
> -Ajay
>
> On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar wrote:
>
>> We have filed requests for position. Please see below:
>>
>> Mozilla: https://github.com/mozilla/standards-positions/issues/683
>> Webkit: https://github.com/WebKit/standards-positions/issues/53
>>
>> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson  
>> wrote:
>>
> Thanks for filing the TAG review. Could you also file for official 
>>> positions from Mozilla and Webkit also? Thanks. I'm sure you're right about 
>>> Mozilla, but they've requested going through the process in the past for 
>>> other intents.
>>>
>>> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi  
>>> wrote:
>>>
>> 1. Yes. The lack of implementation is one issue, but the relationship 
 between selectAudioOutput() and Web Audio API is not really specified or 
 documented.
 2. Since AudioElement.setSinkId() has been used for years, we believe 
 it makes more sense to use the same pattern for its low-level counterpart 
 - 
 Web Audio API's AudioContext. This approach is more specific and focused.


 On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
 philipp...@googlemail.com> wrote:

>>> the ID of the sink needs to be obtained from 
> navigator.mediaDevices.enumerateDevices because 
> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>  
> is not implemented anywhere?
>
> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via 
> blink-dev :
>
 Contact emails
>>
>> hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org 
>>
>> Explainer
>>
>> None
>>
>> Specification
>>
>> https://github.com/WebAudio/web-audio-api/pull/2498
>>
>
The PR hasn't landed yet, and Mozilla's (positive) position states that 
there are some details to be determined still.
Can you expand on that? What's holding the PR from landing?


>> Summary
>>
>> AudioContext.setSinkId sets the ID of the audio device to use for 
>> output. This allows the AudioElement to route audio to a connected 
>> output 
>> device of user's choosing.
>>
>>
>> Blink component
>>
>> Blink>WebAudio 
>> 
>>
>> TAG review
>>
>> This is a small API change within Web Audio API. The WG was advised 
>> that this is too small for the TAG review.
>>
>> TAG review status
>>
>> Not applicable
>>
>> Risks
>>
>> Interoperability and Compatibility
>>
>> Gecko: Positive (
>> https://github.com/WebAudio/web-audio-api/issues/2400) Mozilla is 
>> co-developing the spec change.
>>
>> WebKit: No signal
>>
>> Web developers: Positive (
>> https://github.com/WebAudio/web-audio-api/issues/2400) Many 
>> developers chimed in the spec issue and the implementation crbug entry (
>> crbug.com/1216187). Also several partners expressed the need for 
>> this API. We have not seen any negative feedback on this.
>>
>> Other signals:
>>
>> WebView application risks
>>
>> Does this intent deprecate or change behavior of existing APIs, such 
>> that it has potentially high risk for Android WebView-based applications?
>>
>>
>> Debuggability
>>
>> This adds a new method to AudioContext; the WebIDL change will be 
>> addressed by the DevTools automatically.
>>
>>
>> Will this feature be supported on all six Blink platforms (Windows, 
>> Mac, Linux, Chrome OS, Android, and Android WebView)?
>>
>> Yes
>>
>> This is a part of Web Audio API, which is available on all platforms.
>>
>>
>> Is this feature fully tested by web-platform-tests 
>> 
>> ?
>>
>> Yes. The WPT will be added for this feature.
>>
>> Flag name
>>
>> –enable-blink-features=AudioContextSetSinkId
>>
>> Requires code in //chrome?
>>
>> False
>>
>> Tracking bug
>>
>> https://crbug.com/1355977
>>
>> Launch bug
>>
>> https://crbug.com/1216187
>>
>> Estimated milestones
>>
>> 108
>>
>>
>> Anticipated spec changes
>>
>> Open questions about a feature may be a source of future web compat 
>> or interop issues. Please list open issues (e.g. links to known github 
>> issues in the project for the feature specification) whose resolution 
>> may 
>> introduce web compat/interop risk (e.g., changing to naming or structure 
>> of 
>> the API in a non-backward-compatible way).
>> None
>>
>> Link to 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-09-13 Thread 'Ajay Rahatekar' via blink-dev
Please let us know of any other questions, concerns or observations. 

Thanks in advance.

-Ajay

On Wednesday, August 31, 2022 at 2:54:14 PM UTC-7 Ajay Rahatekar wrote:

> We have filed requests for position. Please see below:
>
> Mozilla: https://github.com/mozilla/standards-positions/issues/683
> Webkit: https://github.com/WebKit/standards-positions/issues/53
>
> On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson  
> wrote:
>
>> Thanks for filing the TAG review. Could you also file for official 
>> positions from Mozilla and Webkit also? Thanks. I'm sure you're right about 
>> Mozilla, but they've requested going through the process in the past for 
>> other intents.
>>
>> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi  
>> wrote:
>>
>>> 1. Yes. The lack of implementation is one issue, but the relationship 
>>> between selectAudioOutput() and Web Audio API is not really specified or 
>>> documented.
>>> 2. Since AudioElement.setSinkId() has been used for years, we believe it 
>>> makes more sense to use the same pattern for its low-level counterpart - 
>>> Web Audio API's AudioContext. This approach is more specific and focused.
>>>
>>>
>>> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
>>> philipp...@googlemail.com> wrote:
>>>
 the ID of the sink needs to be obtained from 
 navigator.mediaDevices.enumerateDevices because 
 https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
  
 is not implemented anywhere?

 Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via 
 blink-dev :

> Contact emails
>
> hong...@chromium.org, alv...@chromium.org, mjwi...@chromium.org 
>
> Explainer
>
> None
>
> Specification
>
> https://github.com/WebAudio/web-audio-api/pull/2498
>
> Summary
>
> AudioContext.setSinkId sets the ID of the audio device to use for 
> output. This allows the AudioElement to route audio to a connected output 
> device of user's choosing.
>
>
> Blink component
>
> Blink>WebAudio 
> 
>
> TAG review
>
> This is a small API change within Web Audio API. The WG was advised 
> that this is too small for the TAG review.
>
> TAG review status
>
> Not applicable
>
> Risks
>
> Interoperability and Compatibility
>
> Gecko: Positive (https://github.com/WebAudio/web-audio-api/issues/2400) 
> Mozilla is co-developing the spec change.
>
> WebKit: No signal
>
> Web developers: Positive (
> https://github.com/WebAudio/web-audio-api/issues/2400) Many 
> developers chimed in the spec issue and the implementation crbug entry (
> crbug.com/1216187). Also several partners expressed the need for this 
> API. We have not seen any negative feedback on this.
>
> Other signals:
>
> WebView application risks
>
> Does this intent deprecate or change behavior of existing APIs, such 
> that it has potentially high risk for Android WebView-based applications?
>
>
> Debuggability
>
> This adds a new method to AudioContext; the WebIDL change will be 
> addressed by the DevTools automatically.
>
>
> Will this feature be supported on all six Blink platforms (Windows, 
> Mac, Linux, Chrome OS, Android, and Android WebView)?
>
> Yes
>
> This is a part of Web Audio API, which is available on all platforms.
>
>
> Is this feature fully tested by web-platform-tests 
> 
> ?
>
> Yes. The WPT will be added for this feature.
>
> Flag name
>
> –enable-blink-features=AudioContextSetSinkId
>
> Requires code in //chrome?
>
> False
>
> Tracking bug
>
> https://crbug.com/1355977
>
> Launch bug
>
> https://crbug.com/1216187
>
> Estimated milestones
>
> 108
>
>
> Anticipated spec changes
>
> Open questions about a feature may be a source of future web compat or 
> interop issues. Please list open issues (e.g. links to known github 
> issues 
> in the project for the feature specification) whose resolution may 
> introduce web compat/interop risk (e.g., changing to naming or structure 
> of 
> the API in a non-backward-compatible way).
> None
>
> Link to entry on the Chrome Platform Status
>
> https://chromestatus.com/feature/5190163462881280
>
> This intent message was generated by Chrome Platform Status 
> .
>
>
> -- 
> Ajay Rahatekar | Technical Program Manager | ajayra...@google.com | 
> 650-797-1279 <(650)%20650-797-1279>
>
> -- 
> You received this message because you are subscribed to the Google 
> 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-08-31 Thread 'Ajay Rahatekar' via blink-dev
We have filed requests for position. Please see below:

Mozilla: https://github.com/mozilla/standards-positions/issues/683
Webkit: https://github.com/WebKit/standards-positions/issues/53

On Wed, Aug 31, 2022 at 8:54 AM Chris Harrelson 
wrote:

> Thanks for filing the TAG review. Could you also file for official
> positions from Mozilla and Webkit also? Thanks. I'm sure you're right about
> Mozilla, but they've requested going through the process in the past for
> other intents.
>
> On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi 
> wrote:
>
>> 1. Yes. The lack of implementation is one issue, but the relationship
>> between selectAudioOutput() and Web Audio API is not really specified or
>> documented.
>> 2. Since AudioElement.setSinkId() has been used for years, we believe it
>> makes more sense to use the same pattern for its low-level counterpart -
>> Web Audio API's AudioContext. This approach is more specific and focused.
>>
>>
>> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
>> philipp.han...@googlemail.com> wrote:
>>
>>> the ID of the sink needs to be obtained from
>>> navigator.mediaDevices.enumerateDevices because
>>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>>> is not implemented anywhere?
>>>
>>> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via
>>> blink-dev :
>>>
 Contact emails

 hongc...@chromium.org, alvi...@chromium.org, mjwil...@chromium.org

 Explainer

 None

 Specification

 https://github.com/WebAudio/web-audio-api/pull/2498

 Summary

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


 Blink component

 Blink>WebAudio
 

 TAG review

 This is a small API change within Web Audio API. The WG was advised
 that this is too small for the TAG review.

 TAG review status

 Not applicable

 Risks

 Interoperability and Compatibility

 Gecko: Positive (https://github.com/WebAudio/web-audio-api/issues/2400)
 Mozilla is co-developing the spec change.

 WebKit: No signal

 Web developers: Positive (
 https://github.com/WebAudio/web-audio-api/issues/2400) Many developers
 chimed in the spec issue and the implementation crbug entry (
 crbug.com/1216187). Also several partners expressed the need for this
 API. We have not seen any negative feedback on this.

 Other signals:

 WebView application risks

 Does this intent deprecate or change behavior of existing APIs, such
 that it has potentially high risk for Android WebView-based applications?


 Debuggability

 This adds a new method to AudioContext; the WebIDL change will be
 addressed by the DevTools automatically.


 Will this feature be supported on all six Blink platforms (Windows,
 Mac, Linux, Chrome OS, Android, and Android WebView)?

 Yes

 This is a part of Web Audio API, which is available on all platforms.


 Is this feature fully tested by web-platform-tests
 
 ?

 Yes. The WPT will be added for this feature.

 Flag name

 –enable-blink-features=AudioContextSetSinkId

 Requires code in //chrome?

 False

 Tracking bug

 https://crbug.com/1355977

 Launch bug

 https://crbug.com/1216187

 Estimated milestones

 108


 Anticipated spec changes

 Open questions about a feature may be a source of future web compat or
 interop issues. Please list open issues (e.g. links to known github issues
 in the project for the feature specification) whose resolution may
 introduce web compat/interop risk (e.g., changing to naming or structure of
 the API in a non-backward-compatible way).
 None

 Link to entry on the Chrome Platform Status

 https://chromestatus.com/feature/5190163462881280

 This intent message was generated by Chrome Platform Status
 .


 --
 Ajay Rahatekar | Technical Program Manager | ajayrahate...@google.com |
  650-797-1279 <(650)%20650-797-1279>

 --
 You received this message because you are subscribed to the Google
 Groups "blink-dev" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to blink-dev+unsubscr...@chromium.org.
 To view this discussion on the web visit
 https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAj6AJ01%3DgXdUepU9Aejf6DOt2qmsK%3DUm%2BJSEDoVRMeyqw%40mail.gmail.com
 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-08-31 Thread Chris Harrelson
Thanks for filing the TAG review. Could you also file for official
positions from Mozilla and Webkit also? Thanks. I'm sure you're right about
Mozilla, but they've requested going through the process in the past for
other intents.

On Wed, Aug 31, 2022 at 8:08 AM Hongchan Choi  wrote:

> 1. Yes. The lack of implementation is one issue, but the relationship
> between selectAudioOutput() and Web Audio API is not really specified or
> documented.
> 2. Since AudioElement.setSinkId() has been used for years, we believe it
> makes more sense to use the same pattern for its low-level counterpart -
> Web Audio API's AudioContext. This approach is more specific and focused.
>
>
> On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
> philipp.han...@googlemail.com> wrote:
>
>> the ID of the sink needs to be obtained from
>> navigator.mediaDevices.enumerateDevices because
>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
>> is not implemented anywhere?
>>
>> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via blink-dev
>> :
>>
>>> Contact emails
>>>
>>> hongc...@chromium.org, alvi...@chromium.org, mjwil...@chromium.org
>>>
>>> Explainer
>>>
>>> None
>>>
>>> Specification
>>>
>>> https://github.com/WebAudio/web-audio-api/pull/2498
>>>
>>> Summary
>>>
>>> AudioContext.setSinkId sets the ID of the audio device to use for
>>> output. This allows the AudioElement to route audio to a connected output
>>> device of user's choosing.
>>>
>>>
>>> Blink component
>>>
>>> Blink>WebAudio
>>> 
>>>
>>> TAG review
>>>
>>> This is a small API change within Web Audio API. The WG was advised that
>>> this is too small for the TAG review.
>>>
>>> TAG review status
>>>
>>> Not applicable
>>>
>>> Risks
>>>
>>> Interoperability and Compatibility
>>>
>>> Gecko: Positive (https://github.com/WebAudio/web-audio-api/issues/2400)
>>> Mozilla is co-developing the spec change.
>>>
>>> WebKit: No signal
>>>
>>> Web developers: Positive (
>>> https://github.com/WebAudio/web-audio-api/issues/2400) Many developers
>>> chimed in the spec issue and the implementation crbug entry (
>>> crbug.com/1216187). Also several partners expressed the need for this
>>> API. We have not seen any negative feedback on this.
>>>
>>> Other signals:
>>>
>>> WebView application risks
>>>
>>> Does this intent deprecate or change behavior of existing APIs, such
>>> that it has potentially high risk for Android WebView-based applications?
>>>
>>>
>>> Debuggability
>>>
>>> This adds a new method to AudioContext; the WebIDL change will be
>>> addressed by the DevTools automatically.
>>>
>>>
>>> Will this feature be supported on all six Blink platforms (Windows, Mac,
>>> Linux, Chrome OS, Android, and Android WebView)?
>>>
>>> Yes
>>>
>>> This is a part of Web Audio API, which is available on all platforms.
>>>
>>>
>>> Is this feature fully tested by web-platform-tests
>>> 
>>> ?
>>>
>>> Yes. The WPT will be added for this feature.
>>>
>>> Flag name
>>>
>>> –enable-blink-features=AudioContextSetSinkId
>>>
>>> Requires code in //chrome?
>>>
>>> False
>>>
>>> Tracking bug
>>>
>>> https://crbug.com/1355977
>>>
>>> Launch bug
>>>
>>> https://crbug.com/1216187
>>>
>>> Estimated milestones
>>>
>>> 108
>>>
>>>
>>> Anticipated spec changes
>>>
>>> Open questions about a feature may be a source of future web compat or
>>> interop issues. Please list open issues (e.g. links to known github issues
>>> in the project for the feature specification) whose resolution may
>>> introduce web compat/interop risk (e.g., changing to naming or structure of
>>> the API in a non-backward-compatible way).
>>> None
>>>
>>> Link to entry on the Chrome Platform Status
>>>
>>> https://chromestatus.com/feature/5190163462881280
>>>
>>> This intent message was generated by Chrome Platform Status
>>> .
>>>
>>>
>>> --
>>> Ajay Rahatekar | Technical Program Manager | ajayrahate...@google.com |
>>> 650-797-1279 <(650)%20650-797-1279>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "blink-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to blink-dev+unsubscr...@chromium.org.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAj6AJ01%3DgXdUepU9Aejf6DOt2qmsK%3DUm%2BJSEDoVRMeyqw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to blink-dev+unsubscr...@chromium.org.
> To view this discussion on 

Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-08-31 Thread Hongchan Choi
1. Yes. The lack of implementation is one issue, but the relationship
between selectAudioOutput() and Web Audio API is not really specified or
documented.
2. Since AudioElement.setSinkId() has been used for years, we believe it
makes more sense to use the same pattern for its low-level counterpart -
Web Audio API's AudioContext. This approach is more specific and focused.


On Tue, Aug 30, 2022 at 10:46 PM Philipp Hancke <
philipp.han...@googlemail.com> wrote:

> the ID of the sink needs to be obtained from
> navigator.mediaDevices.enumerateDevices because
> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
> is not implemented anywhere?
>
> Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via blink-dev <
> blink-dev@chromium.org>:
>
>> Contact emails
>>
>> hongc...@chromium.org, alvi...@chromium.org, mjwil...@chromium.org
>>
>> Explainer
>>
>> None
>>
>> Specification
>>
>> https://github.com/WebAudio/web-audio-api/pull/2498
>>
>> Summary
>>
>> AudioContext.setSinkId sets the ID of the audio device to use for output.
>> This allows the AudioElement to route audio to a connected output device of
>> user's choosing.
>>
>>
>> Blink component
>>
>> Blink>WebAudio
>> 
>>
>> TAG review
>>
>> This is a small API change within Web Audio API. The WG was advised that
>> this is too small for the TAG review.
>>
>> TAG review status
>>
>> Not applicable
>>
>> Risks
>>
>> Interoperability and Compatibility
>>
>> Gecko: Positive (https://github.com/WebAudio/web-audio-api/issues/2400)
>> Mozilla is co-developing the spec change.
>>
>> WebKit: No signal
>>
>> Web developers: Positive (
>> https://github.com/WebAudio/web-audio-api/issues/2400) Many developers
>> chimed in the spec issue and the implementation crbug entry (
>> crbug.com/1216187). Also several partners expressed the need for this
>> API. We have not seen any negative feedback on this.
>>
>> Other signals:
>>
>> WebView application risks
>>
>> Does this intent deprecate or change behavior of existing APIs, such that
>> it has potentially high risk for Android WebView-based applications?
>>
>>
>> Debuggability
>>
>> This adds a new method to AudioContext; the WebIDL change will be
>> addressed by the DevTools automatically.
>>
>>
>> Will this feature be supported on all six Blink platforms (Windows, Mac,
>> Linux, Chrome OS, Android, and Android WebView)?
>>
>> Yes
>>
>> This is a part of Web Audio API, which is available on all platforms.
>>
>>
>> Is this feature fully tested by web-platform-tests
>> 
>> ?
>>
>> Yes. The WPT will be added for this feature.
>>
>> Flag name
>>
>> –enable-blink-features=AudioContextSetSinkId
>>
>> Requires code in //chrome?
>>
>> False
>>
>> Tracking bug
>>
>> https://crbug.com/1355977
>>
>> Launch bug
>>
>> https://crbug.com/1216187
>>
>> Estimated milestones
>>
>> 108
>>
>>
>> Anticipated spec changes
>>
>> Open questions about a feature may be a source of future web compat or
>> interop issues. Please list open issues (e.g. links to known github issues
>> in the project for the feature specification) whose resolution may
>> introduce web compat/interop risk (e.g., changing to naming or structure of
>> the API in a non-backward-compatible way).
>> None
>>
>> Link to entry on the Chrome Platform Status
>>
>> https://chromestatus.com/feature/5190163462881280
>>
>> This intent message was generated by Chrome Platform Status
>> .
>>
>>
>> --
>> Ajay Rahatekar | Technical Program Manager | ajayrahate...@google.com |
>> 650-797-1279 <(650)%20650-797-1279>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "blink-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to blink-dev+unsubscr...@chromium.org.
>> To view this discussion on the web visit
>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAj6AJ01%3DgXdUepU9Aejf6DOt2qmsK%3DUm%2BJSEDoVRMeyqw%40mail.gmail.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGJqXNuLuQ0mv%2BqRu2YxvP9iu_E%3DF2FdVe5Ewz%3DeB-yNokJtFA%40mail.gmail.com.


Re: [blink-dev] Intent to Ship: AudioContext.setSinkId()

2022-08-30 Thread 'Philipp Hancke' via blink-dev
the ID of the sink needs to be obtained from
navigator.mediaDevices.enumerateDevices because
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/selectAudioOutput
is not implemented anywhere?

Am Di., 30. Aug. 2022 um 19:02 Uhr schrieb 'Ajay Rahatekar' via blink-dev <
blink-dev@chromium.org>:

> Contact emails
>
> hongc...@chromium.org, alvi...@chromium.org, mjwil...@chromium.org
>
> Explainer
>
> None
>
> Specification
>
> https://github.com/WebAudio/web-audio-api/pull/2498
>
> Summary
>
> AudioContext.setSinkId sets the ID of the audio device to use for output.
> This allows the AudioElement to route audio to a connected output device of
> user's choosing.
>
>
> Blink component
>
> Blink>WebAudio
> 
>
> TAG review
>
> This is a small API change within Web Audio API. The WG was advised that
> this is too small for the TAG review.
>
> TAG review status
>
> Not applicable
>
> Risks
>
> Interoperability and Compatibility
>
> Gecko: Positive (https://github.com/WebAudio/web-audio-api/issues/2400)
> Mozilla is co-developing the spec change.
>
> WebKit: No signal
>
> Web developers: Positive (
> https://github.com/WebAudio/web-audio-api/issues/2400) Many developers
> chimed in the spec issue and the implementation crbug entry (
> crbug.com/1216187). Also several partners expressed the need for this
> API. We have not seen any negative feedback on this.
>
> Other signals:
>
> WebView application risks
>
> Does this intent deprecate or change behavior of existing APIs, such that
> it has potentially high risk for Android WebView-based applications?
>
>
> Debuggability
>
> This adds a new method to AudioContext; the WebIDL change will be
> addressed by the DevTools automatically.
>
>
> Will this feature be supported on all six Blink platforms (Windows, Mac,
> Linux, Chrome OS, Android, and Android WebView)?
>
> Yes
>
> This is a part of Web Audio API, which is available on all platforms.
>
>
> Is this feature fully tested by web-platform-tests
> 
> ?
>
> Yes. The WPT will be added for this feature.
>
> Flag name
>
> –enable-blink-features=AudioContextSetSinkId
>
> Requires code in //chrome?
>
> False
>
> Tracking bug
>
> https://crbug.com/1355977
>
> Launch bug
>
> https://crbug.com/1216187
>
> Estimated milestones
>
> 108
>
>
> Anticipated spec changes
>
> Open questions about a feature may be a source of future web compat or
> interop issues. Please list open issues (e.g. links to known github issues
> in the project for the feature specification) whose resolution may
> introduce web compat/interop risk (e.g., changing to naming or structure of
> the API in a non-backward-compatible way).
> None
>
> Link to entry on the Chrome Platform Status
>
> https://chromestatus.com/feature/5190163462881280
>
> This intent message was generated by Chrome Platform Status
> .
>
>
> --
> Ajay Rahatekar | Technical Program Manager | ajayrahate...@google.com |
> 650-797-1279 <(650)%20650-797-1279>
>
> --
> You received this message because you are subscribed to the Google Groups
> "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to blink-dev+unsubscr...@chromium.org.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAj6AJ01%3DgXdUepU9Aejf6DOt2qmsK%3DUm%2BJSEDoVRMeyqw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKi%2BucfBFY2sjh-Pw%2BGcvNiGy11NZa56UZgg8i_ZvkxD5Aw%40mail.gmail.com.