• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AVAudioPlayer fact check
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AVAudioPlayer fact check (From: Chris Adamson <email@hidden>)

  • Prev by Date: AVAudioPlayer fact check
  • Next by Date: Two AUs in one bundle
  • Previous by thread: AVAudioPlayer fact check
  • Next by thread: Two AUs in one bundle
  • Index(es):
    • Date
    • Thread