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.