Virtual Front Camera: Session lifecycle, MultiCam compatibility, and pipeline stability

We are very interested in the new Virtual Front Camera capability on iPhone Duo. When the physical chassis opens or closes, how does the Virtual Front Camera handle the underlying optical handoff?

Specifically, does this transition occur seamlessly within an active AVCaptureSession / AVCaptureVideoDataOutput pipeline without interrupting delivery of video frames, or does it trigger reconfiguration notifications that require pausing the session? Additionally, can the Virtual Front Camera be paired with a rear capture device inside an AVCaptureMultiCamSession while maintaining real-time performance and reasonable thermal headroom?

Answered by Frameworks Engineer in 906753022

When the Virtual Front Camera switches cameras, you will notice a discontinuity in the timestamps of the CMSampleBuffers sent out on AVCaptureVideoDataOutput. The session will not be interrupted.

The Virtual Front Camera can be paired with a back camera using AVCaptureMultiCamSession. Use AVCaptureDevice.DiscoverySession 's supportedMultiCamDeviceSets to determine the supported configurations of cameras. The max number of physical cameras running together is 3

When the Virtual Front Camera switches cameras, you will notice a discontinuity in the timestamps of the CMSampleBuffers sent out on AVCaptureVideoDataOutput. The session will not be interrupted.

The Virtual Front Camera can be paired with a back camera using AVCaptureMultiCamSession. Use AVCaptureDevice.DiscoverySession 's supportedMultiCamDeviceSets to determine the supported configurations of cameras. The max number of physical cameras running together is 3

Virtual Front Camera: Session lifecycle, MultiCam compatibility, and pipeline stability
 
 
Q