Instance Property

preferredVideoStabilizationMode

The stabilization mode most appropriate for use with the connection.

Declaration

@property(nonatomic) AVCaptureVideoStabilizationMode preferredVideoStabilizationMode;

Discussion

This property applies only to capture connections involving video. On devices where the video stabilization feature is supported, only a subset of available source formats may be stabilized.

Set this property to a value other than AVCaptureVideoStabilizationModeOff to enable stabilization whenever the specified mode is available. Enabling video stabilization introduces additional latency into the video capture pipeline and may consume more system memory depending on the stabilization mode and format. If the preferred stabilization mode isn't available, the activeVideoStabilizationMode property is set to AVCaptureVideoStabilizationModeOff. Setting this property to AVCaptureVideoStabilizationModeAuto chooses an appropriate mode for the capture format and frame rate. Use Key-value observing with the activeVideoStabilizationMode property to determine which stabilization mode is in use.

The default value is AVCaptureVideoStabilizationModeOff.

See Also

Managing the Video Stabilization Settings

supportsVideoStabilization

A Boolean value that indicates whether this connection supports video stabilization.

activeVideoStabilizationMode

The stabilization mode currently active for the connection.

videoStabilizationEnabled

A Boolean value that indicates whether video stabilization is active for the connection.

Deprecated
enablesVideoStabilizationWhenAvailable

A Boolean value that indicates whether the system should enable video stabilization when it is available.

Deprecated