Featured Member Applications

TanZen ($0.99)

Air Hockey ($0.99)

Forex On The Go Lite (FREE)

Cams Ahoy! Europe ($0.99)

Cams Ahoy! North America ($0.99)

Air Mouse ($5.99)

Internet Radio Box ($2.99)

Photoshop Pirate Guide ($10.99)

Oog & Gappo In The Kitchen ($2.99)

Chess Player ($3.99)

Candy Hearts ($0.99)

Want your application to be advertised here?

Go Back   iPhone Dev SDK Forum > Development Forums > iPhone SDK Development

» Site Navigation
» Home
» 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.
» Stats
Members: 5,181
Threads: 7,638
Posts: 32,193
Top Poster: RickMaddy (925)
Welcome to our newest member, NJheadhunter
Reply
 
LinkBack Thread Tools Display Modes
Old 11-20-2008, 04:46 PM   #1 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default 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
milkaxor is offline   Reply With Quote
Old 11-23-2008, 03:11 PM   #2 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

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.
milkaxor is offline   Reply With Quote
Old 11-25-2008, 06:03 AM   #3 (permalink)
Junior Member
 
Join Date: Nov 2008
Posts: 1
Default

.pls is a playlist file, which contains the URL to the actual stream..
pcmaniac is offline   Reply With Quote
Old 11-25-2008, 07:06 AM   #4 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 8
Default

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
aganguly01 is offline   Reply With Quote
Old 11-25-2008, 11:47 AM   #5 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

^^ 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.
milkaxor is offline   Reply With Quote
Old 11-25-2008, 12:46 PM   #6 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 8
Default

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
aganguly01 is offline   Reply With Quote
Old 12-01-2008, 10:23 PM   #7 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

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.
milkaxor is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:00 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Owned and Operated by 913solutions, LLC, ©2008 - 2009