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: Thu, 28 Aug 2014 13:55:35 +1200
Message-ID: <CAOp6jLZaTv0v5om5nYYdHTci9CPBeukfcRwa7N9bAgqE6hn8gg@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Chris Wilson <cwilso@google.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
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.

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 01:56:03 UTC

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