AudioOutputUnitStart fail with return code 561145187

Our app invoke the method AudioOutputUnitStart in the foreground, and frequently return the error AVAudioSessionErrorCodeCannotStartRecording, also when appear the problem, the background no app running, the problem more often occured on the device iPad 8 wifi + iOS 14.6, what is the reason and how to debug it. Thanks!

    OSStatus status = AudioOutputUnitStart(recordUnit);
    if (status!=noErr) {
       status = 561145187
    }
Answered by VintonLiu in 688960022

That's the bug of Smart Folio, when took off the Smart Folio, problem disappeared.

Any update here? I met the same problem, cant not start record, only occures on iPad.

I met same problem too, only occures on iPad 14.5+

Accepted Answer

That's the bug of Smart Folio, when took off the Smart Folio, problem disappeared.

AudioOutputUnitStart fail with return code 561145187
 
 
Q