Alternatives to deprecated AVCaptureConnection frame-duration properties?

avfoundation, ios, ios7

Solution

According to the header file (AVCaptureSession.h),

This property is deprecated on iOS, where min and max frame rate adjustments are applied exclusively at the AVCaptureDevice using the activeVideoMinFrameDuration and activeVideoMaxFrameDuration properties.

Problem

According to this document the properties and methods relating to video-frame maximum and minimum duration: - `supportsVideoMaxFrameDuration` - `supportsVideoMinFrameDuration` - `videoMaxFrameDuration` - `videoMinFrameDuration` have all been deprecated. Are there alternatives?

Original source