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?



Other Threads

1. How to create HTTP request, and how to create a connection object.

How to create an HTTP request object of POST type in android? Which
class need to be extend or what method need to implement? How to
establish connection to a server?
Actually i want to connect to a microsoft exchange server, and then i
have to send a request to it using HTTP.
I dont have any idea about this, any help will be highly apperciated.


2. plz help me for this question

hi all,

this is a layout issue,
now my app's layout is this screenshot:
ps: my btn means ImageButton

 webview        |
btn                |

now how can do this:

 webview        |
------               |
btn  |              |

ple help me!!

3. Is getting android Ksoap2 response in Xml for all of them ?

4. Issue to connect at IMAP4 server with Anrdoid

5. Wrapping AndroidService with a package

6. help me with dynamic element generation

7. Failed to launch the android under the emu