AudioOutputUnitStart failed with OSStatus error -50

Let the device is in locked screen

  • Get incoming APNS video request to start video recording
  • we are reporting this APNS to Callkit
  • Accept incoming APNS request
  • We are trying to initialise audio unit.
  • Initialisation is success but starting is failing.

Note - This issue is reproduced only if we receive video pull request in locked screen, after accepting callkit call we should not unlock the phone. If we unlock phone everything works as expected.

AudioOutputUnitStart failed with OSStatus error -50
 
 
Q