dokun1 dokun1 - 1 month ago 65x
iOS Question

iPhone 7 Plus - AVFoundation dual camera

I'm actively researching this at the moment, but now that the iPhone 7 Plus has a dual camera system, will AVFoundation allow you to handle video frames from each specific camera simultaneously?

I am thinking/hoping that I'll be able to handle output from two

instances at the same time given a certain position.


In the updated AVFoundation documentation (AVCaptureDeviceType) there're new device types: builtInWideAngleCamera and builtInTelephotoCamera. Hence, it should be possible to create multiple capture sessions and get the feedback from both of them at the same time.