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

2011-07-15 Thread nbonwit
We have tried prepareAsync() and it does not work either. On Jul 13, 5:24 am, Praveen Raj wrote: > You should use prepareAsync() for streams, inplace ofprepare(). > > On Jul 13, 3:42 am, nbonwit wrote: > > > > > > > > > Hello, > > > We are streaming audio via http from ffserver/ffmpeg on Angstr

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

2011-07-14 Thread Praveen Raj
for streams you should use prepareAsync(), inplace of prepare(). Try that and reply if that helps to you. On Jul 13, 3:42 am, nbonwit 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_s1

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

2011-07-14 Thread Praveen Raj
You should use prepareAsync() for streams, inplace of prepare(). On Jul 13, 3:42 am, nbonwit 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".

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

2011-07-14 Thread nbonwit
Hello Bob, Thanks for letting me know. I was unaware of all those issues! I thought Android was supposed to be designed from the ground up for media! Would you be willing to share your AudioTrack code? Thanks! On Jul 13, 4:09 pm, b0b wrote: > The sad truth is that you can't expect WAV http

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

2011-07-13 Thread b0b
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 stream