Contents

kCMSampleBufferAttachmentKey_ForceKeyFrame

Indicates that the current or next video sample buffer should be forced to be encoded as a key frame.

Declaration

let kCMSampleBufferAttachmentKey_ForceKeyFrame: CFString

Discussion

If this attachment is present and kCFBooleanTrue on a sample buffer with a video frame, that video frame will be forced to become a key frame. If the sample buffer for which this is present and kCFBooleanTrue does not have a valid video frame, the next sample buffer processed that contains a valid video frame will be encoded as a key frame.

See Also

Sample Buffer Keys