Discussion Forums  >  Uncategorized

Replies: 11    Views: 522

StreamAudio
buzztouch Evangelist
Profile
Posts: 9
Reg: Feb 07, 2011
Williamsburg, V...
90
06/28/11 11:35 PM (14 years ago)

1.5 and Live streaming audio from shoutcast/icecast source

Do you guys think it will be possible down the road? That's the one feature holding me back from upgrading all my streaming audio apps to 1.5 (would be very cool). I'm not a coder but from what I can tell, in the audio control code in the app currently tries to download the entire .mp3 file to a local temp space then play it back, is it possible to have it pull down some data then start playing, like from a live shoutcast/icecast url?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/29/11 01:14 AM (14 years ago)
Try entering the URL in a Custom URL Screen. See what it does. Bet it plays. In our opinion this is a bit of a workaround because you can't control how the native player looks and feels. Not sure if we'll ever get around to doing all the coding necessary to support shoutcast. See how that works.
 
StreamAudio
buzztouch Evangelist
Profile
Posts: 9
Reg: Feb 07, 2011
Williamsburg, V...
90
like
06/29/11 01:30 AM (14 years ago)
That works great in 1.4, can do .mp3 streams as a streaming audio page or a custom URL and .AAC as a custom URL. (icecast url's) The ultimate solution would be using the streaming audio page in 1.5 allowing for custom player controls, background image/color control :D I might have to buckle down and try learning some objectiveC >_< Thanks!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/29/11 02:13 AM (14 years ago)
We agree about the controls 100%. Have you tried the shoutcast URL in that screen type? It's been awhile on this end. It may work? If it doesn't, there are a few packages out there that may do what you want. Get your hands on some example code (google's your friend) and have a look at BT_Screens > BT_screen_audio.m I'll be you get it going.
 
larrycollett
Apple Fan
Profile
Posts: 1
Reg: Dec 21, 2010
USA
10
like
06/29/11 10:08 AM (14 years ago)
How do I look at 1.5?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/29/11 10:50 AM (14 years ago)
@ larrycollett: Have a look at your accouns home page for instructions about getting on the Early Adopter list. Early Adopters have access to v1.5
 
StreamAudio
buzztouch Evangelist
Profile
Posts: 9
Reg: Feb 07, 2011
Williamsburg, V...
90
like
07/09/11 01:38 AM (14 years ago)
I stumbled across this project that has a solution for playing live feeds from Icecast servers, tested with mp3 and aac. Maybe you guys could integrate it! Looks like good stuff. http://www.smartsdktips.com/blog/2010/03/14/iphone-audio-streamer-working-code-with-call-interruption/ Project package: http://www.smartsdktips.com/AudioStreamer.zip
 
erickgrau
Aspiring developer
Profile
Posts: 8
Reg: Dec 18, 2011
NYC
80
like
12/23/11 11:43 AM (14 years ago)
DId this idea die? I'm making a new app in 1.5 and if its .mp3, controls are fine, however I'm trying to do a live stream through the app, .m3u file. It works if I create the channel as custom URL - but I lost ability to keep playing if you move away from the app! Any ideas or work arounds? Thanks, Erick
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
02/13/12 08:00 AM (14 years ago)
Did anyone ever find out how to play a shoutcast .pls stream on android? It works fine on ios if you use the page link method on 1.4 but doesn't work for android. Haven't tried it on 1.5 but assuming it doesn't work for android either?
 
UI=AWESOME
Code is Art
Profile
Posts: 2
Reg: Feb 28, 2012
location unknow...
20
like
03/05/12 03:02 PM (13 years ago)
many times when people try to do this they don't use the true URL that the audio came from example-if you go to a streaming radio online that uses flash player that URL is not the true URL that the audio is coming from, it's just the player
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
03/06/12 03:45 PM (13 years ago)
Thanks for the input. When I was trying to do this on 1.4 for android I put in the url of the actual stream. The url of the ip address that the stream is coming from and not the website page I have a flash player playing the stream. It however did not work. Did you find a solution to this? If so would you please instruct me specifically what I need to be doing? Would greatly appreciate the help.
 
Paddy
Lost but trying
Profile
Posts: 240
Reg: Oct 08, 2011
Hands Up !
12,500
like
03/07/12 03:04 PM (13 years ago)
I tried this little trick and it seems to work for android with mp3 streams. Find your shoutcast url: strip off anything after the id. http://yp.shoutcast.com/sbin/tunein-station.pls?id=1278316 and just add .mp3, becomes; http://yp.shoutcast.com/sbin/tunein-station.pls?id=1278316.mp3 Let me know if it works coz no android device to test.
 

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.