Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
- Subject: Re: iOS8: AudioOutputUnitStart() always fails after rejecting a phone call
- From: Beinan Li <email@hidden>
- Date: Wed, 21 Jan 2015 14:33:25 -0500
It is still not the right fix using "App plays audio" for the key "Require background mode" in info.plist.
AudioOutputUnitStart() may still fail on iOS 8.1.2 devices.
Looking at AVAudioSessionErrorCodeCannotStartPlaying again, I see that with that info.plist option,
the AmbientSound mode still allows now background audio, correct?
I could still add sleep() to it, but this sounds too ad-hoc to be an acceptable solution for all the devices.
Should I file a bug report to Apple? Any thoughts?