Deprecated AVCaptureConnection Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 7.0

supportsVideoMaxFrameDuration

A Boolean value that indicates whether the connection supports setting the videoMaxFrameDuration property. (read-only) (Deprecated in iOS 7.0.)

@property(nonatomic, readonly, getter=isVideoMaxFrameDurationSupported) BOOL supportsVideoMaxFrameDuration
Discussion

This property is only applicable to connections involving video.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 7.0.
Declared In
AVCaptureSession.h

supportsVideoMinFrameDuration

A Boolean value that indicates whether the connection supports setting the videoMinFrameDuration property. (read-only) (Deprecated in iOS 7.0.)

@property(nonatomic, readonly, getter=isVideoMinFrameDurationSupported) BOOL supportsVideoMinFrameDuration
Discussion

This property is only applicable to connections involving video.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 7.0.
Declared In
AVCaptureSession.h

videoMaxFrameDuration

The maximum time interval between which the receiver should output consecutive video frames. (Deprecated in iOS 7.0.)

@property(nonatomic) CMTime videoMaxFrameDuration
Discussion

The value of this property specifies the maximum duration of each video frame output by the connection, placing an upper bound on the amount of time that should separate consecutive frames. The value is equivalent to the reciprocal of the minimum frame rate.

A value of kCMTimeZero or kCMTimeInvalid indicates an unlimited minimum frame rate.

The default value is kCMTimeInvalid.

You can only set this value if supportsVideoMaxFrameDuration is YES.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 7.0.
Declared In
AVCaptureSession.h

videoMinFrameDuration

The minimum time interval between which the receiver should output consecutive video frames. (Deprecated in iOS 7.0.)

@property(nonatomic) CMTime videoMinFrameDuration
Discussion

The value of this property specifies the minimum duration of each video frame output by the connection, placing a lower bound on the amount of time that should separate consecutive frames. The value is equivalent to the reciprocal of the maximum frame rate.

A value of kCMTimeZero or kCMTimeInvalid indicates an unlimited maximum frame rate.

The default value is kCMTimeInvalid.

You can only set this value if supportsVideoMinFrameDuration is YES.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 7.0.
Declared In
AVCaptureSession.h