Audio streaming

All your problems with Audio, Video and Images.

Audio streaming

Postby fernandovalente » Thu Apr 14, 2011 5:04 am

Hey,

I'm new to Android. As my first project, I'm trying to port a radio app I created to Android. I need to find a way to stream audio from a SHOUTcast/ICEcast station. I also want to be able to progressive download(AKA record) it! I Googled a lot, but I found nothing helpful. I want to stream MP3s, but preferable AAC and other formats too! I'm trying to target Android 1.5, but I don't mind if I have to target a newer version. In fact, I found a way, but I would have to extract the PCM data from the MP3/AAC file and I found no way to do that. Does anyone knows a way to create an audio streamer for Android?

Thanks in advanced!
fernandovalente
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Apr 14, 2011 4:56 am

Top

Re: Audio streaming

Postby glenandroid » Mon May 23, 2011 10:13 pm

The standard Android MediaPlayer class supports basic streaming. You can create a MediaPlayer object and call setDataSource() with the URL that you intend to stream...
--> Yes. No. Maybe. I don't know. Can you repeat the question? <--
glenandroid
Junior Developer
Junior Developer
 
Posts: 16
Joined: Mon Mar 01, 2010 3:40 am
Location: Manchester England

Re: Audio streaming

Postby abhijitphatak28 » Wed Jun 01, 2011 12:24 pm

Below link might be helpful for you.

http://www.hrupin.com/2011/02/27/exampl ... ayer-class

Thanks

Regards
-Abhijit
User avatar
abhijitphatak28
Senior Developer
Senior Developer
 
Posts: 102
Joined: Sat Feb 12, 2011 1:18 pm
Location: Indore

Top

Return to Multimedia Problems

Who is online

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