proxy http in your  streaming context refers to server side as you
will not fit a streaming server proxy on android.

On Mar 27, 7:39 pm, Scott <[email protected]> wrote:
> Looking for help with creating an http proxy server via Android. It's
> a bit difficult to ask this question with examples, etc, because
> networking isn't familiar to me, which means I don't quite know how to
> get started, so I'll try to explain: I'm attempting to play an audio
> stream using Android's MediaPlayer. It's a snap using setDataSource
> and my URL string... only some phones (those still running Android
> 1.5) won't play the stream. Through research I've discovered that the
> problem may reside with the headers associated with my stream URL,
> that something in them is either missing, wrong, or simply needs to be
> changed in order for the MediaPlayer not to reject the URL on
> prepare() (could be length and/or content-type). I've been told that I
> should attempt to solve the problem by creating an http proxy server
> in my app, one where I can alter the headers to however I need them,
> and then attach to the stream through this new proxy... but I haven't
> the slightest idea on how to do this. Anyone have advice? I'd greatly
> appreciate a point in the right direction through code, not just
> suggestions like "look up HttpClient in the SDK", because I've been
> through all of that and am getting nowhere. Thanks...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to