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 protected]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to