W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Re: MediaStream integration

From: Chris Rogers <crogers@google.com>
Date: Wed, 9 May 2012 16:51:30 -0700
Message-ID: <CA+EzO0kDhDKMLjbTCw6yMvx=4L8j=4kkr7Ywh1hnTef5XFA13g@mail.gmail.com>
To: robert@ocallahan.org
Cc: public-audio@w3.org
On Wed, May 9, 2012 at 4:27 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/webrtc-integration.html
> Only being able to capture the output of an entire context seems
> unnecessarily limiting. Instead of context.createMediaStreamDestination(),
> you could add "readonly attribute MediaStream stream;" to AudioNode.

Hi Robert, sorry if there was any confusion about this.  I haven't written
up any explanation for this API yet, but hope to add it to the main Web
Audio API editor's draft soon:

The intention is that context.createMediaStreamDestination() will create a
destination node that a sub-graph can connect to.  So it's not capturing
the output of the entire context (context.destination).  In theory, it
should be possible to call context.createMediaStreamDestination() multiple
times, each of which sends out to a different remote peer with different

> I think authors will expect createMediaStreamSource(stream).stream (or the
> equivalent trivial graph using context.createMediaStreamDestination()) to
> be semantically a no-op (except for the output having only one audio
> track). I think we should make sure it is.

I think so, if I understand you correctly.

> Rob
> --
> “You have heard that it was said, ‘Love your neighbor and hate your
> enemy.’ But I tell you, love your enemies and pray for those who persecute
> you, that you may be children of your Father in heaven. ... If you love
> those who love you, what reward will you get? Are not even the tax
> collectors doing that? And if you greet only your own people, what are you
> doing more than others?" [Matthew 5:43-47]
Received on Wednesday, 9 May 2012 23:51:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:59 UTC