Melody,

Unfortunately, this does seem to be the situation until at least the
next release of the SDK.

I am trying to find a way around it through other interfaces in the
native code, but I get the impression that even if I find one,
it won't actually be useable in combination with SDK code.

Maybe we need to start another mailing list for unrequited android
realtime audio :)

Regards,

-Dorn

On Mon, Dec 1, 2008 at 10:02 PM, melody <[EMAIL PROTECTED]> wrote:
>
> I've been working on an application that requires the user to record
> some audio, and for that audio to be sent my server.  On our end, we
> then analyze that audio and return results to the user.  The percieved
> performance of our application benefits greatly from being able to
> start sending the audio data to our server while the user is still
> recording.
>
> My problem:
>
> The MediaRecorder class only seems to support writing to a file at the
> moment.  This audio data seems to be flushed to this output file in
> 4kB chunks, which works out to about 7 seconds of audio.  This means I
> can't start sending any data to my server until after the first 7
> seconds of recording (and then I can't send anything again for another
> 7 seconds, and so on).  Ideally I would like to start sending the
> audio to the server much sooner, and in much smaller chunks than
> that.  This is not only to minimize the potential impact of a slow
> connection, but also so that I can start processing the chunks of
> audio earlier.
>
> The perfect situation would be that when the user stops recording
> audio, I will have already received and processed almost all that he/
> she recorded, with only a very small chunk leftover.
>
> Thanks for your help.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to