Wednesday, July 13, 2011

[android-developers] Re: Streaming Wav Audio Error: MediaPlayer Prepare failed status=0x1

The sad truth is that you can't expect WAV http streaming to work on
all phones.
Some may work but not others.
MediaPlayer is very limited for audio http streaming and has all kind
of issues.
AAC and MP3 kind of works (with issues) and that's it.
It's so bad that most apps serious about http streaming will use
something else, often ffmpeg.
To play streamed WAV I've had to implement it myself (it is not very
difficult), feeding an AudioTrack.

On Jul 13, 12:42 am, nbonwit <nevi...@freescalemcu.org> wrote:
> Hello,
>
> We are streaming audio via http from ffserver/ffmpeg on Angstrom
> Linux.  The ffmpeg audio codec is PCM signed 16-bit little endian
> "pcm_s16le".  The ffmpeg stream format is "wav".  Both of these are
> claimed to be supported on Android here:http://developer.android.com/guide/appendix/media-formats.html#core
>

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

No comments:

Post a Comment