Category "avaudiosession"

how to resolve app crash in AXSpeechManager for iOS 14.5

I recently met a weird crash which only appears in iOS 14.5 and iOS 14.5.1, which I cannot reproduce. But the crash log only contains code from the system frame

Core Haptics not playing in iOS 15 with certain AVAudioSession configurations

I'm using Core Haptics to play a custom "heart beat" pattern, while simultaneously playing music using AVAudioPlayer. Specifically, I'm creating a simple CHHapt

Error Domain=NSOSStatusErrorDomain Code=560030580 "The operation couldn’t be completed. (OSStatus error 560030580.)"

I was using AVPlayer to play online mp3 stream ! When I pause the player [AVPlayer pause]; AVAudioSession *session = [AVAudioSession sharedInstance]; session

Mic input through headphones and output to iPhone speakers

Is there any way yet of being able to use wired headphones' mic as input and iPhone speakers as output using the high level AVFoundation framework: AVAudioSessi