• 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
Implementing an iOS podcast playback app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implementing an iOS podcast playback app


  • Subject: Implementing an iOS podcast playback app
  • From: Rick Mann <email@hidden>
  • Date: Mon, 10 Nov 2014 01:33:45 -0800

Given a URL to an online MP3 file, what's the right API to use to start playing it back during download?

I want my app to download the file and play it locally, but I'd like it to start playing shortly after download begins. What's the most modern API to handle this? Is it enough to just start an async download to a file, and then start up playback of the local a few seconds or some number of bytes transferred later? Or is there a streaming API that also writes the bytes to disk?

I plan to let my users download without playing back, so they can store podcasts for offline playback. I can write two different code paths for these two uses, but I'd rather have one bit of download code and one bit of playback code.

Appreciate suggestions. Thanks!

--
Rick Mann
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


  • Follow-Ups:
    • Re: Implementing an iOS podcast playback app
      • From: Yuriy Romanchenko <email@hidden>
  • Prev by Date: Re: Logic x64, Yosemite & FSMakeFSRefUnicode
  • Next by Date: Re: Implementing an iOS podcast playback app
  • Previous by thread: Re: Logic x64, Yosemite & FSMakeFSRefUnicode
  • Next by thread: Re: Implementing an iOS podcast playback app
  • Index(es):
    • Date
    • Thread