- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Fri, 29 Aug 2014 11:41:15 +1200
- To: John Lin <jolin@mozilla.com>
- Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
- Message-ID: <CAOp6jLY703SgK29b0BycoJ-A4c3jF9QfuofZi=n5RcNi9=vKAA@mail.gmail.com>
On Thu, Aug 28, 2014 at 3:10 PM, John Lin <jolin@mozilla.com> wrote: > Robert O'Callahan <robert@ocallahan.org> 於 2014/8/28 上午10:10 寫道: > > On Thu, Aug 28, 2014 at 1:49 PM, Robert O'Callahan <robert@ocallahan.org> > wrote: > >> With the above "definition", ChannelSplitterNode is not a problem; the >> 0'th output (the first channel) of audioNode gets recorded and the others >> are ignored. We'd just need to say that in the spec. >> > > Let me clarify that: > > "new MediaRecorder(audioNode)" records the first output of audioNode > (where "output" is defined in the Web Audio spec). > > For those unfamiliar with Web Audio: currently only ChannelSplitterNode > has more than one output. Each output can have any number of channels. > > BTW AudioDestinationNode has 0 outputs so I think if someone creates a > MediaRecorder for that node we should just throw an exception. > Alternatively we could change the Web Audio spec so it actually has an > output (the mix of its inputs). I actually prefer the latter since it's > more DWIM; I'll post to public-audio. > > > Is it necessary to give AudioDestinationNode an output? Couldn’t we just > say that MediaRecorder records the mix of inputs of the destination node > for AudioContext, and OfflineAudioCompletionEvent.renderedBuffer for > OfflineAudioContext? > We could do that, but it's simpler to just fix AudioDestinationNode to have an output. Rob -- oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo owohooo osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o oioso oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo owohooo osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro ooofo otohoeo ofoioroeo ooofo ohoeololo.
Received on Thursday, 28 August 2014 23:41:42 UTC