AVCaptureVideoDataOutputSampleBufferDelegate and ipadOS multitasking

Hi

I'm working on an app that use intensively the device camera video stream, using AVCaptureVideoDataOutputSampleBufferDelegate and its delegate method:
Code Block
func captureOutput(AVCaptureOutput, didOutput: CMSampleBuffer, from: AVCaptureConnection)

Everything works properly unless I open another app on the foreground with ipad multitasking (https://support.apple.com/en-us/HT207582)

Once multitasking is enabed, the captureOutput delegate method is never called anymore. If I remove the second app from the forground, captureOutput is called again.

I reproduced the problem on 2 unrelated apps.

Is it a known iOS limitation, problem, or I'm missing something?

Thanks.
AVCaptureVideoDataOutputSampleBufferDelegate and ipadOS multitasking
 
 
Q