kCMSampleBufferAttachmentKey_EndsPreviousSampleDuration
Indicates that sample buffer’s decode timestamp may be used to define the previous sample buffer’s duration (type CFBoolean, default false).
Declaration
let kCMSampleBufferAttachmentKey_EndsPreviousSampleDuration: CFStringDiscussion
Marker sample buffers with this attachment may be used in situations where sample buffers are transmitted before their duration is known. In such situations, normally the recipient may use each sample buffer’s timestamp to calculate the duration of the previous sample buffer. The marker sample buffer with this attachment is sent to provide the timestamp for calculating the final sample buffer’s duration.
See Also
Sample Buffer Keys
kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediatelykCMSampleBufferAttachmentKey_DrainAfterDecodingkCMSampleBufferAttachmentKey_DroppedFrameReasonkCMSampleBufferDroppedFrameReason_FrameWasLatekCMSampleBufferDroppedFrameReason_OutOfBufferskCMSampleBufferDroppedFrameReason_DiscontinuitykCMSampleBufferAttachmentKey_DroppedFrameReasonInfokCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitchkCMSampleBufferAttachmentKey_EmptyMediakCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilencekCMSampleBufferAttachmentKey_ForceKeyFramekCMSampleBufferAttachmentKey_GradualDecoderRefreshkCMSampleBufferAttachmentKey_PermanentEmptyMediakCMSampleBufferAttachmentKey_PostNotificationWhenConsumedkCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding