deviceIsNotAvailableInBackground
You attempted to start a capture session in the background, which isn’t allowed in iOS.
Declaration
static var deviceIsNotAvailableInBackground: AVError.Code { get }See Also
Error codes
AVError.CodeairPlayControllerRequiresInternetairPlayReceiverRequiresInternetairPlayReceiverTemporarilyUnavailableapplicationIsNotAuthorizedToUseDeviceapplicationIsNotAuthorizedautoWhiteBalanceNotLockedcompositionTrackSegmentsNotContiguouscontentIsNotAuthorizedcontentIsProtectedcontentIsUnavailablecontentKeyRequestCancelledcontentNotUpdatedcreateContentKeyRequestFaileddecodeFailed