• 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
error handling best practices with audio file streaming?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error handling best practices with audio file streaming?


  • Subject: error handling best practices with audio file streaming?
  • From: John Zorko <email@hidden>
  • Date: Wed, 05 Nov 2008 15:09:37 -0800


Hello, all ...

I'm developing an audio stream player app, and of course it works well at my house on different networks.  However, taking it into the real world often introduces gaps, pauses, hangs, etc.  I basically have an NSURLConnection feeding an audio queue, via AudioFileStreamParseBytes() and AudioQueueStart() / etc.  If the connection drops, I catch that and display an error alert, but often times the audio skips / hangs / etc. when the network is iffy.  What is the best way to catch and handle these errors in the core audio code, as well as the URL connection object?

Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com











 _______________________________________________
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: error handling best practices with audio file streaming?
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: Why a 'prop' error?
  • Next by Date: Re: error handling best practices with audio file streaming?
  • Previous by thread: Job opening in New Jersey
  • Next by thread: Re: error handling best practices with audio file streaming?
  • Index(es):
    • Date
    • Thread