CMAttachment
Add supporting metadata to sample buffers.
Overview
An attachment bearer is a Core Foundation type object that supports the suite of key, value, and mode attachment APIs. You can attach any Core Foundation object to an attachment bearer to store additional information.
Topics
Processing Attachments
CMGetAttachment(_:key:attachmentModeOut:)CMCopyDictionaryOfAttachments(allocator:target:attachmentMode:)CMSetAttachment(_:key:value:attachmentMode:)CMSetAttachments(_:attachments:attachmentMode:)CMRemoveAttachment(_:key:)CMRemoveAllAttachments(_:)CMPropagateAttachments(_:destination:)
Data Types
Constants
kCMAttachmentMode_ShouldNotPropagatekCMAttachmentMode_ShouldPropagatekCMSampleAttachmentKey_HEVCTemporalLevelInfokCMSampleAttachmentKey_HEVCTemporalSubLayerAccesskCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccesskCMSampleAttachmentKey_HEVCSyncSampleNALUnitTypekCMSampleAttachmentKey_CryptorSubsampleAuxiliaryDatakCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCountkCMSampleBufferAttachmentKey_CameraIntrinsicMatrix