A subclass of AVCaptureSession that supports simultaneous capture from multiple inputs of the same media type.


class AVCaptureMultiCamSession : AVCaptureSession


The session preset for AVCaptureMultiCamSession is always inputPriority. You must set each capture device’s activeFormat value to the desired quality of service.


Determining Multi-Camera Support

class var isMultiCamSupported: Bool

A Boolean value that indicates whether this device supports multi-camera sessions.

Managing Resources

var hardwareCost: Float

A value that indicates the percentage of the session’s available hardware budget currently in use.

var systemPressureCost: Float

A value that indicates the system pressure cost of the current session configuration.


Inherits From

Conforms To

See Also

Capture Sessions

Setting Up a Capture Session

Configure input devices, output media, preview views, and basic settings before capturing photos or video.

AVCam: Building a Camera App

Capture photos with depth data and record video using the front and rear iPhone and iPad cameras.

AVMultiCamPiP: Capturing from Multiple Cameras

Simultaneously record the output from the front and back cameras into a single movie file by using a multi-camera capture session.

class AVCaptureSession

An object that manages capture activity and coordinates the flow of data from input devices to capture outputs.