AVCaptureMultiCamSession freezes on iPadPro11(exact mobile type string: iPad8,1) in certain cases when configuring for higher resolution images.
I configure the cameras for almost the highest resolution still image capture.
The choosen formats are:
Choosen format on front camera: Optional("\'vide\'/\'420f\' 1920x1440, { 1- 30 fps}, HRSI:3088x2316, fov:55.680, max zoom:144.75 (upscales @1.61), ISO:18.0-1728.0, SS:0.000020-1.000000, supports HDR, supports wide color, supports multicam")
Choosen format on back camera: Optional("\'vide\'/\'420f\' 1920x1440, { 1- 30 fps}, HRSI:4224x3168, fov:64.717, max zoom:198.00 (upscales @2.20), AF System:2, ISO:18.0-1728.0, SS:0.000024-1.000000, supports HDR, supports wide color, supports multicam")
Runtime error comes after session.startRunning():
Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedDescription=Cannot Complete Action, NSLocalizedRecoverySuggestion=Try again later.})
I'm handling the notifcation by calling session.startRunning() again and the session starts running sometimes. But sometimes not and it takes 2-4 attempts to start the session.
After the session is running it works fine and takes the images.
Choosing smaller image resolution:
Choosen format: Optional("\'vide\'/\'420f\' 1920x1080, { 1- 60 fps}, HRSI:3392x1908, fov:61.161, supports vis, max zoom:16.00 (upscales @1.61), ISO:18.0-1728.0, SS:0.000020-1.000000, supports wide color, supports multicam")
SOLVES the problem!
The system and hardware pressure states seem fine(configured the preview to 25fps):
System pressure cost: 0.25525
Hardware cost: 0.59088
Is it a known bug?
I downloaded the latest beta(iOS 13.3 beta2) but it did not fix the issue