W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2015

Re: Headphone connected signal

From: Chris Wilson <cwilso@google.com>
Date: Mon, 9 Feb 2015 08:32:32 -0800
Message-ID: <CAJK2wqV4QwewqaF+WTDt4181tQo3c=nQcsVQUtSgTJ7HJnpc3A@mail.gmail.com>
To: Chris Pike <chris.pike@bbc.co.uk>
Cc: Chinmay Pendharkar <notthetup@gmail.com>, "public-audio@w3.org" <public-audio@w3.org>
Yes, they're the same thing.  (Hosted at
http://w3c.github.io/mediacapture-output/.)  And yes, I think that's the
right place to consider this API, and you should file an issue with a
proposal in https://github.com/w3c/mediacapture-output/issues.

On Mon, Feb 9, 2015 at 5:52 AM, Chris Pike <chris.pike@bbc.co.uk> wrote:

> Thanks Chinmay and Chris,
>
> What’s the difference between the mediacapture-output API and the Audio
> Output Devices API proposal? Are they the same thing? If this is the right
> API to consider this signal in, what should the next step be? Should I
> create a proposal and send it to the editors? Is there a mailing list where
> this API is discussed?
>
> Many thanks,
> Chris
>
>
> On 8 Feb 2015, at 03:31, Chinmay Pendharkar <notthetup@gmail.com> wrote:
>
> > I'm guessing this would have to be related somehow to the
> mediacapture-output API, since that's what is actually choosing which
> physical device the audio gets sent to. Am I right?
> >
> > I understand that this might not be available on all media outputs, but
> it's a good signal to have.  This is something I would be keen on
> requesting for as well.
> >
> > -Chinmay
> >
> > On Sun, Feb 8, 2015 at 8:22 AM, Chris Wilson <cwilso@google.com> wrote:
> > You can get access to this information in Android, I know, but I don't
> think you can across all desktop systems (and certainly not all out
> devices).  Seems like it would need to be like Android's plugged event -
> http://developer.android.com/reference/android/media/AudioManager.html#ACTION_HEADSET_PLUG
> - on the AudioContext, but it would need to be clear that it's not always
> going to trigger.
> >
> >
> > On Sat, Feb 7, 2015 at 5:39 AM, Chris Pike <chris.pike@bbc.co.uk> wrote:
> > Dear group,
> >
> > It would be useful for potential media player applications that use the
> Web Audio API, to be able to know when headphones are connected, especially
> on mobile platforms. It seems somewhat related to the discussion of the
> Audio Output Devices API, but I would appreciate some thoughts/advice from
> the more experienced amongst you. Is it feasible to create an API call that
> would tell you if headphones are connected (provided that the underlying
> system can know obviously) and if so where should this request be directed?
> >
> > Thanks,
> > Chris Pike
> > Audio Team - BBC R&D
> >
> >
>
>
Received on Monday, 9 February 2015 16:33:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 9 February 2015 16:33:05 UTC