Class

AVCaptureMultiCamSession

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

Declaration

@interface AVCaptureMultiCamSession : AVCaptureSession

Overview

The session preset for a multicamera session is always AVCaptureSessionPresetInputPriority. Set each capture device’s activeFormat value to the desired quality of service.

You can dynamically enable and disable this session’s individual camera inputs without interrupting capture preview. To stop an individual camera, disable all of its connections or connected ports. The camera then stops streaming data to save power and bandwidth. Other inputs that are streaming data through the session are unaffected.

Topics

Determining Multi-Camera Support

multiCamSupported

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

Managing Resources

hardwareCost

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

systemPressureCost

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

Relationships

Inherits From

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.

AVCaptureSession

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