Confirm MediaPlayer automatic retry on streaming HTTP error

by Skyler » Fri, 20 May 2011 09:34:08 GMT


Sponsored Links
 Hi all,
I have an app which streams mp3s from the web, proxied through a local HTTP 
server. At times, this local proxy server returns an HTTP error. It seems 
that upon receiving this error during the prepare state, the MediaPlayer 
makes one more attempt to stream, sending another request to the URL 
specified in setDataSource().

thread, I can see that after sending an HTTP error response, another request 
for the same URL is made. Can someone confirm this behavior? I'm seeing this 
from the emulator running a 1.6 AVD.

Additionally, can I disable this automatic retry? Is there a specific HTTP 
error code that I can send that will prevent this retry?

Thanks!

-- 



Other Threads

1. Changing screen

hi I am new to android programming and i need to create the following
application. Its a test, so  i need to maintain the state of session
since login to answer choices entered by students till the end of
state. can anyone tell me how can i change screens, I want to just
change screens within the same activity. and also retain the values
entered in each GUI screen. Each screen should be generated on fly
depending on the kind of test the student selects. The test questions
are in different XML files, so i need to render these files on fly and
display it in GUI.

-- 

2. galaxy s online kitchen at xda

utk galaxy s..

http://forum.samdroid.net/f49/galaxy-s-online-kitchen-xda-1393/

-- 
"Indonesian Android Community [id-android]" 

3. Get all text (including encoded) from XML Text Node

4. Changing UI

5. When clicking on a widget, how to make it just change the text inside the widget?

6. OOT: Ehm...

7. Holand vs brazil