Running ARKit Camera while AVCaptureSession is active.

Hello,
I recently came across a problem, while developing my ARKit Application. I was trying to implement a feature, so that while the user is in his ARSession, he can see his face through his front camera in a little UIView at the bottom. But when I create the AVCaptureSession, the ARKit Camera freezes and just the AVCapture Preview appears. Is it possible to run both cameras at once, while the back camera is used for ARKit?

Regards,

Oscar Junius
Hello,

There can only be one running capture session at a time, ARKit requires a running capture session, and there is no ARConfiguration that will enable you to receive both the front and rear camera image, so the functionality that you are looking for is not possible.

That being said, I strongly recommend that you file an enhancement request, and provide as much detail as to the functionality that you are trying to enable in your enhancement request using Feedback Assistant.
Running ARKit Camera while AVCaptureSession is active.
 
 
Q