Discussion Forums  >  Uncategorized

Replies: 5    Views: 552

fireveo
Aspiring developer
Profile
Posts: 12
Reg: Nov 19, 2010
Dallas
820
11/19/10 09:47 PM (15 years ago)

Audio Streaming

Does anyone know how I can stream audio using SHOUTcast from my iPhone App like a Web Radio?
 
Radio East
Aspiring developer
Profile
Posts: 19
Reg: Sep 29, 2010
USA
190
like
11/20/10 10:27 AM (15 years ago)
I am looking for the same thing, but in the Droid side. I have figured out how to do it using a Custom URL and it works ok with the iPhone. I won't play in the background. It simply launches the Quicktime player to play. Once you exit the music stops.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/20/10 06:07 PM (15 years ago)
Shoutcast is a tough one. We have heard from a few folks that were successful in implementing it but don't know many details. The streaming audio feature is designed to play .mp3's and nothing else. However, you could experiment with using a CustomURL screen instead - enter the Shoutcast URL in the box. I'm guessing it will work on iPhone but not Android. We are working on the next buzztouch version and look forward to releasing it soon. It has an improved Music Player screen but we have not yet worked out ShoutCast on Android. If anyone figures this out, let us know so we can implement it for everyone else ;-)
 
HottWeelz
Lost but trying
Profile
Posts: 89
Reg: Nov 11, 2010
New York
890
like
11/21/10 01:43 AM (15 years ago)
Android doesn't support audio streaming out of the box. (Droid Does huh?) The only way I've gotten Android to stream audio is an RTSP 3gpp format which requires re-converting an already existent shoutcast or icecast stream. Sorry folks, tried it all. I run a radio station in NY. IPhone does support M3U, PLS, and AAC and QT right out the door. So just go ahead and use the Custom URL that David mentioned in your app. I'm up a creek without a paddle. I packaged the Android App for CyberFM but I can't package the IPhone app cuz I don't own a MAC. I lost both ways :(
 
Zoid66
Lost but trying
Profile
Posts: 176
Reg: Oct 26, 2010
USA
1,760
like
11/28/10 08:04 AM (15 years ago)
Hotwheelz, did you have to make any mods to the current source code for your streaming MP3's? (talking Android here) I have some MP3 that just will not load and sometimes they do, it get's stuck ast the Starting Video Stream. If I past the URL to the MP3 file in the browser it plays without problem eveytime... The default from buzztouch i am using is the streaming audio. I posted a question to David about adding something to 'get' out if the file never loads. Sometimes it crashes the app. Brining this up cause I guess it could happen at anytime.
 
MDG2
Apple Fan
Profile
Posts: 102
Reg: May 08, 2012
Princeton, New ...
5,020
like
05/12/12 09:59 PM (13 years ago)
Same here. The streaming audio plug-in freezes my entire iPhone after it loads. Audio streams but doesn't play. It works fine in the Xcode iPhone simulator but once deployed to device and you attempt to play audio it freezes the entire iPhone. Any fix?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.