I have an app that streams mp3's from a server, works fine on 1.5 and
lower. But on the droid, for certain songs the mediaplayer buffers to
like over 50% but onPrepared() is never called. These same songs work
fine on 1.5 or on a 2.0 emulator but for some reason they just hang on
the actual droid phone. No mediaplayer errors are thrown but if i call
stop or reset it while it is hanging like this, it throws this,
12-18 19:14:05.230: ERROR/MediaPlayer(15718): stop called in state 4
12-18 19:14:05.230: ERROR/MediaPlayer(15718): error (-38, 0)
12-18 19:14:05.238: ERROR/PlayerDriver(987): Command (6) was cancelled
it is only for certain files (yes they are all mp3s) and only on the
droid. Anyone have any ideas why these songs would hang? I already
checked the http headers and they are correct. Thanks for any help, it
will be greatly appreciated.
lower. But on the droid, for certain songs the mediaplayer buffers to
like over 50% but onPrepared() is never called. These same songs work
fine on 1.5 or on a 2.0 emulator but for some reason they just hang on
the actual droid phone. No mediaplayer errors are thrown but if i call
stop or reset it while it is hanging like this, it throws this,
12-18 19:14:05.230: ERROR/MediaPlayer(15718): stop called in state 4
12-18 19:14:05.230: ERROR/MediaPlayer(15718): error (-38, 0)
12-18 19:14:05.238: ERROR/PlayerDriver(987): Command (6) was cancelled
it is only for certain files (yes they are all mp3s) and only on the
droid. Anyone have any ideas why these songs would hang? I already
checked the http headers and they are correct. Thanks for any help, it
will be greatly appreciated.