Contents

postNotificationWhenConsumed

Indicates that decode pipelines should post a notification when consuming the sample buffer.

Declaration

static let postNotificationWhenConsumed: CVAttachmentKeyDefinition<CMSampleBufferAttachmentKeyDefinitions.ShouldPropagate, CMCustomNotificationInfo>

Discussion

This attachment is used at run time to request that a decode pipeline post kCMSampleBufferConsumerNotification_BufferConsumed notification when this sample buffer is consumed. The value for this key is used as the userInfo dictionary in the notification.