Re: AVAudioPlayer fact check
Re: AVAudioPlayer fact check
- Subject: Re: AVAudioPlayer fact check
- From: Jesse Armand <email@hidden>
- Date: Sun, 23 Aug 2009 05:07:45 +0700
AVAudioPlayer doesn't work with any network resources.
To enable playback of HTTP Live Audio Streaming URL, you need to use
Audio File Stream Services to parse the stream and play it back using
Audio Queue Services.
Connection to the network stream could be done using CFNetwork.
Jesse Armand
----------------------------------------
(http://jessearmand.com)
On Sat, Aug 22, 2009 at 3:40 AM, Chris Adamson<email@hidden> wrote:
> I know that AVAudioPlayer's initWithContentsOfURL: generally only works with
> file-style URLs and doesn't support network URLs as far as I can tell (flat
> files via HTTP get fnfErr, Shoutcast streams get kAudioFileUnspecifiedError)
>
> But about an audio-only HTTP Live Streaming URL? Are those supported, and
> are there examples of such things in the wild?
> Yep, it's the final day of fact checking for our iPhone book, and I'm
> double-checking my claim that initWithContentsOfURL: doesn't work with
> anything other than file:.
> Thanks in advance.
> --Chris
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden