Implementing an iOS podcast playback app
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