I really can't believe I never thought of using a local proxy. It
seems all so simple now!
As I understand the concept, but not the actual implementation, would
you know of any tutorials or sample apps that go about the same lines
that I could look into?


On May 6, 10:29 am, Marco Nelissen <[email protected]> wrote:
> On Wed, May 6, 2009 at 10:19 AM, Vimae <[email protected]> wrote:
>
> > With the new 1.5 now finally being released, I'm trying to give my app
> > a second go.
>
> > I currently have a service where you can stream your music library
> > from the web. However, each stream has to be authenticated with a
> > cookie or the server returns a 500 error, so the standard MediaPlayer
> > will not work, because I cannot pass a cookie with the Uri!
>
> You could have a local proxy in your app that does that for you.
>
> I noticed that the API now has an AudioTrack class within
>
> > android.media. It can take a raw stream of PCM 16 BIT. I was wondering
> > if anyone has any tips or ideas on progmatically transcoding MP3
> > stream to PCM 16 for playing through.
>
> You would have to find an mp3 decoder to include in your app.
> Using one written in Java would perform poorly, and using a native
> one would require writing some JNI code and passing data back
> and forth. The proxy approach might be easier.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to