kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration
The maximum duration from one key frame to the next in seconds.
Declaration
let kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration: CFStringDiscussion
The default value is 0, which means no limit. This property is particularly useful when the frame rate is variable. See kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration for more discussion of key frames.
This key can be set in conjunction with kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration, which requires a keyframe every X frames or every Y seconds, whichever comes first.