When setting up AVCaptureSession to use builtInTripleCamera it allows automatic camera switching between Wide and Ultra Wide cameras based on the distance from the object that is in the camera's view. This means that when you are moving your phone closer to the object it automatically switches which constituent device is used.
I am previewing video stream on the AVCaptureVideoPreviewLayer.
When this switching occurs there is substantial jump of the image that is caused by the fact that cameras are physically in different locations on the back of the iPhone.
However in native Camera app while this jump is still visible, it is much more smooth. You can see how images are blended one into each other during this switch.
My question is is it possible to achieve this behaviour inside application because this jump really looks like serious glitch?