Droid specific audio streaming issues

All your problems with Audio, Video and Images.

Droid specific audio streaming issues

Postby cvance383 » Sun Dec 20, 2009 11:21 pm

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.
cvance383
Freshman
Freshman
 
Posts: 9
Joined: Tue Feb 03, 2009 11:18 pm

Top

Postby cvance383 » Tue Dec 22, 2009 3:08 am

***UPDATE***

http://stream29l.grooveshark.com/collin.php

this mp3 will stream fine if you go to the url on android 1.5, but not on 2.0. If you download the mp3, and put it on the phone it works on 2.0, just not when you stream it.
cvance383
Freshman
Freshman
 
Posts: 9
Joined: Tue Feb 03, 2009 11:18 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests