» Site Navigation |
|
|
» 360iDev Conference |
Looking for an iPhone conference?

iPhone Dev SDK will be there and we're hoping to see you there!
360|iDev
San Jose, CA
March 2-4, 2009
Tickets on sale now!
|
» Advertisements |

Visit our friends over at The App Show! Steve and Dave produce a weekly show shining a light on the iPhone 2.0 software and the applications being developed by the amazing development community for the iPhone SDK!

App Fiend is a simple and efficient way to keep track of what iPhone and iPod Touch Apps your friends are using (or have used), and what they think about them.
|
» Online Users: 121 |
| 24 members and 97 guests |
| akaasio, Alainms23, aryaxt, asynk, bhearn, c0der, CaptainCode, Chilibird, Chris Stewart, CommanderData, freshking, genemartone, icep, lefty, LunarMoon, maneeshr, markww, mbruun, nacht, NJheadhunter, rilian, rjgrune, uprise78 |
| Most users ever online was 207, 10-24-2008 at 09:29 AM. |
» Stats |
Members: 5,181
Threads: 7,638
Posts: 32,193
Top Poster: RickMaddy (925)
|
| Welcome to our newest member, NJheadhunter |
|
 |
11-20-2008, 04:46 PM
|
#1 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
How to play streaming audio
Hi guys,
I have been searching the web a ton to try to find this out. How do I setup an audio stream to play on the iphone?
Here is the mp3 stream addresss:
http://provisioning.streamtheworld.com/pls/KNXAM.pls
I can't find any tutorials or any examples of setting up an audio stream. Any help would be greatly appreciated. Thanks
|
|
|
11-23-2008, 03:11 PM
|
#2 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
Something? Anything? I've found some examples ( Cocoa with Love: Streaming and playing an MP3 stream) but those are for mp3 files. I am trying to get a .pls radio stream to play. The apple documentation doesn't help and I am waiting on dev approval so I don't have access to the apple dev forums.
Any help is much appreciated.
|
|
|
11-25-2008, 06:03 AM
|
#3 (permalink)
|
|
Junior Member
Join Date: Nov 2008
Posts: 1
|
.pls is a playlist file, which contains the URL to the actual stream..
|
|
|
11-25-2008, 07:06 AM
|
#4 (permalink)
|
|
Junior Member
Join Date: Jun 2008
Posts: 8
|
Hi,
QT toolkit, you can develop application supporting streaming and playing pls files.There are ample amount of examples under the sample code present in the Apple developer forums.Not sure about the support of QT toolkit on Iphone as I haven't used much.
Thanks and regards
-A
|
|
|
11-25-2008, 11:47 AM
|
#5 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
^^ QT toolkit isn't available on the iphone.
Thanks for the info, guys. I see Apple added AVAudioPlayer in 2.2. No more AudioQueue logic to deal with. Hooray. Problems solved.
|
|
|
11-25-2008, 12:46 PM
|
#6 (permalink)
|
|
Junior Member
Join Date: Jun 2008
Posts: 8
|
Hi,
Thanks for the update.Does AVAudioplayer supports AACplus stream as well?I mean the pls files with AACplus codec are you able to play/
Thanks
-A
|
|
|
12-01-2008, 10:23 PM
|
#7 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
I stand corrected. AVAudioPlayer isn't meant for streaming audio. It is meant for playing audio files and for data that is already in memory. I don't know about AAC+ sorry.
I had to use the AudioQueue method to stream mp3 audio from the web. So convoluted for no reason.
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|