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

Re: Differences Between Specs

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 7 Feb 2012 12:31:58 +1300
Message-ID: <CAOp6jLbN2kbh6AuxMQ2fX=cnJOhVG80FHbf87vT-yTr7B33Wvg@mail.gmail.com>
To: Joseph Berkovitz <joe@noteflight.com>
Cc: Doug Schepers <schepers@w3.org>, "public-audio@w3.org" <public-audio@w3.org>
On Tue, Feb 7, 2012 at 11:55 AM, Joseph Berkovitz <joe@noteflight.com>wrote:

> Thanks Doug.  Before I can contribute to a comparison documeny I have a
> couple of basic questions about material in roc's sketch of the MediaStream
> API (I will try to keep these very brief):
> 1. Where are HTML MediaStreams described?  From the spec:
> The description of MediaStreams here extends and must remain compatible
> with HTML MediaStreams [
> http://www.whatwg.org/specs/web-apps/current-work/complete/video-conferencing-and-peer-to-peer-communication.html#stream-api
> ]
> The above link to a WHATWG document describing HTML MediaStreams seems to
> be broken; presumably there's a more up-to-date document. Can anyone please
> provide a link that works so I can view the general definition of an HTML
> MediaStream?

It's moved to here:
I'll update the spec. Perhaps after Chris Rogers has got his updates in.

2. What are the "parameters" described in various places in the spec, e.g.
> in this method of ProcessedMediaStream:
>   void setParams(in any params, in optional double startTime);
In WebIDL 'any' means any Javascript value. In this case, the value has to
be supported by the HTML structured clone algorithm.
Any value that's "plain old data" would work fine.

3. Is there any sample code to back the various JS "black boxes" in the
> spec, e.g. the "synthesizer.js" code referenced in roc's UC 9?

Yes. You can get to example code from here:
(To actually play them, you'd need a test build linked from here:

"If we claim to be without sin, we deceive ourselves and the truth is not
in us. If we confess our sins, he is faithful and just and will forgive us
our sins and purify us from all unrighteousness. If we claim we have not
sinned, we make him out to be a liar and his word is not in us." [1 John
Received on Monday, 6 February 2012 23:38:09 UTC

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