• 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: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call


  • Subject: Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
  • From: Douglas Scott <email@hidden>
  • Date: Mon, 19 Jan 2015 13:36:59 -0800

Just as a starting point:  if you grep that error in the public audio headers, you will find it is:

AVAudioSessionErrorCodeCannotStartPlaying = '!pla', /* 0x21706C61, 561015905 */


with description:

  @constant AVAudioSessionErrorCodeCannotStartPlaying
The app is not allowed to start recording and/or playing, usually because of a lack of audio key in
  its Info.plist.  This could also happen if the app has this key but uses a category that can't record 
  and/or play in the background (AVAudioSessionCategoryAmbient, AVAudioSessionCategorySoloAmbient, etc.).

On Jan 19, 2015, at 12:11 PM, Beinan Li <email@hidden> wrote:

Hi CoreAudio,

Our app used to handle interruption correctly with the registered interruption listener.
Now on iOS 8 under kAudioSessionCategory_AmbientSound category,
whenever we reject a phone call, the call to AudioOutputUnitStart() for resuming the 
audio pipeline always returns: 

ERROR:     [0x3afe09dc] 1230: AUIOClient_StartIO failed (561015905)

And our apps will have no sound as a result.

We set it to retry on fails but it would always fail on retries.

We were we missing?

Thanks,
Beinan

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: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
      • From: Beinan Li <email@hidden>
References: 
 >iOS8: AudioOutputUnitStart() always fails after rejecting a phone call (From: Beinan Li <email@hidden>)

  • Prev by Date: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
  • Next by Date: Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
  • Previous by thread: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
  • Next by thread: Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
  • Index(es):
    • Date
    • Thread