kVTEncodeFrameOptionKey_ForceKeyFrame
Boolean value indicating whether the current frame is forced to be a key frame.
Declaration
let kVTEncodeFrameOptionKey_ForceKeyFrame: CFStringDiscussion
This value is set in the frameProperties dictionary passed to VTCompressionSessionEncodeFrame(_:imageBuffer:presentationTimeStamp:duration:frameProperties:sourceFrameRefcon:infoFlagsOut:); it determines whether the current frame is forced to be a keyframe or not. Note that it may not be possible for the encoder to accommodate all requests.