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

On Thu, Aug 21, 2014 at 2:19 AM, Jim Barnett <1jhbarnett@gmail.com> wrote:

> The OfflineAudioContext is not required to render faster than real time,
> is it?  Could we say that when attached to a PeerConnection it should
> render in real time?
>

That would make it mostly useless.

The proposal here is to allow a MediaRecorder to be constructed for an
AudioNode. That does not enable connection of OfflineAudioContext to
MediaStreams or PeerConnections --- by design, since we don't want to open
that can of worms. Yet :-).

By the way, is it correct to say that an OfflineAudioContext isn't linked
> to a clock at all?  It must have some sense of what the timing would be
> when the audio is played in real time.  Otherwise, MediaRecorder can't
> process it.  The MediaRecorder API lets the caller say "give me 200ms
> buffers of audio".  It would be fine for the MediaRecorder to return those
> buffers more often than once every 200ms, but the amount of data has to be
> correct.
>

That's right.

In any case, I agree that since it is already possible to create a
> MediaStream from an AudioNode (and hence to record from the AudioNode), we
> should figure out how that works (or forbid it)


I'm not aware of additional spec work that needs to be done for that case.
MediaStreamAudioDestinationNode has existed for a while. Firefox has been
shipping it + MediaRecorder for a while now.

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 Tuesday, 26 August 2014 12:58:43 UTC