kVTCompressionPropertyKey_SuggestedLookAheadFrameCount
A value that requests that the encoder retain the specified number of frames during encoding.
Declaration
let kVTCompressionPropertyKey_SuggestedLookAheadFrameCount: CFStringDiscussion
These frames will be used for additional analysis and statistics gathering before the frame is finally encoded at the end of the window. When this property is not set, video encoder will automatically determine the number of lookahead frames.
Encoder will choose number of lookahead frames closer to the suggested value based on internal configuration. This property directly affects latency of the video encoder. The following properties also affect look ahead frames:
Value of this property must be less than or equal to
kVTCompressionPropertyKey_MaxFrameDelayCount.This property is ignored when
VTVideoEncoderSpecification_EnableLowLatencyRateControlis set to trueThis property is ignored when
kVTCompressionPropertyKey_Qualityis set to 1.0This property can not be used in conjunction with multi-pass feature (
kVTCompressionPropertyKey_MultiPassStorage)