Instance Property

sessionPreset

A constant value indicating the quality level or bit rate of the output.

Declaration

@property(nonatomic, copy) AVCaptureSessionPreset sessionPreset;

Discussion

You use this property to customize the quality level or bit rate of the output. For possible values of sessionPreset, see AVCaptureSessionPreset. The default value is AVCaptureSessionPresetHigh.

You can set this value while the session is running.

You can only set a preset if canSetSessionPreset: returns YES f or that preset.

See Also

Managing Session Presets

AVCaptureSessionPreset

Constants to define capture setting presets using the sessionPreset property.

- canSetSessionPreset:

Returns a Boolean value that indicates whether the session can use the given preset.