W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2014

Re: Extending MediaRecorder to record from Web Audio node faster than real time?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 29 Aug 2014 11:41:52 +1200
Message-ID: <CAOp6jLajtkrLZr0pnp+Fzox+w5546MVcovpNczrBkSVcghfS4g@mail.gmail.com>
To: Jim Barnett <1jhbarnett@gmail.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, Chris Wilson <cwilso@google.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On Fri, Aug 29, 2014 at 2:05 AM, Jim Barnett <1jhbarnett@gmail.com> wrote:

> On Aug 27, 2014, at 9:55 PM, "Robert O'Callahan" <robert@ocallahan.org>
> wrote:
>
> On Thu, Aug 28, 2014 at 4:05 AM, Harald Alvestrand <harald@alvestrand.no>
> wrote:
>
>>  On 08/27/2014 05:57 PM, Chris Wilson wrote:
>>
>> Is a MediaStream (and Recorder) going to be happy about having its number
>> of channels changed in mid-stream?
>>
>>
>> MediaStreams can have tracks added and removed at any time; they're
>> rather flexible.
>>
>
> True, but don't confuse adding tracks with adding channels. A MediaStream
> derived from an AudioNode always has one track, but the number of audio
> channels in that track could change over time.
>
> So the question is, what should a MediaRecorder do if the number of
> channels in an audio track changes and the format it's recording to can't
> handle that? (Note that this is not a new issue;
> MediaStreamAudioDestinationNode already introduced it.)
>
> I think we should spec that if the format doesn't support changing the
> number or layout of channels, then we keep recording with the initial
> layout and automatically remix the audio to fit.
>
> >> Who would automatically remix the audio?  The MediaRecorder?
>

Yes.

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:42:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:29 UTC