Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternatives to deprecated AVCaptureConnection frame-duration properties?

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?

like image 705
Larry OBrien Avatar asked Oct 03 '13 20:10

Larry OBrien


1 Answers

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.

like image 104
Greg Avatar answered Oct 18 '22 09:10

Greg