Contents

sessionPreset

A preset value that indicates the quality level or bit rate of the output.

Declaration

var sessionPreset: AVCaptureSession.Preset { get set }

Discussion

Specify a preset value to configure a capture session’s format and settings. The default preset is high, which produces high-quality video and audio output, but you can specify any preset value that returns true for a call to canSetSessionPreset(_:).

You can set this value while the session is running.

See Also

Setting a session preset