kCMSampleBufferAttachmentKey_PostNotificationWhenConsumed
If present, indicates that decode pipelines should post a notification when consuming the sample buffer(type CFDictionary).
Declaration
let kCMSampleBufferAttachmentKey_PostNotificationWhenConsumed: CFStringDiscussion
This attachment is used at run time to request that a decode pipeline post a kCMSampleBufferConsumerNotification_BufferConsumed notification when this sample buffer is consumed. The value for this key is used as the userInfo dictionary in the notification.
This attachment is not written to media files.
See Also
Sample Buffer Keys
kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediatelykCMSampleBufferAttachmentKey_DrainAfterDecodingkCMSampleBufferAttachmentKey_DroppedFrameReasonkCMSampleBufferDroppedFrameReason_FrameWasLatekCMSampleBufferDroppedFrameReason_OutOfBufferskCMSampleBufferDroppedFrameReason_DiscontinuitykCMSampleBufferAttachmentKey_DroppedFrameReasonInfokCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitchkCMSampleBufferAttachmentKey_EmptyMediakCMSampleBufferAttachmentKey_EndsPreviousSampleDurationkCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilencekCMSampleBufferAttachmentKey_ForceKeyFramekCMSampleBufferAttachmentKey_GradualDecoderRefreshkCMSampleBufferAttachmentKey_PermanentEmptyMediakCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding