Sample Attachment Keys

Attachments associated with individual samples in a buffer.

Overview

You can get and set sample-level attachments in a sample buffer using the CMSampleBufferGetSampleAttachmentsArray function.

Topics

Constants

kCMSampleAttachmentKey_NotSync

Indicates whether the sample is a sync sample (type CFBoolean, default false).

kCMSampleAttachmentKey_PartialSync

Indicates whether the sample is a partial sync sample (type CFBoolean, default false).

kCMSampleAttachmentKey_HasRedundantCoding

Indicates whether the sample has redundant coding (type CFBoolean).

kCMSampleAttachmentKey_IsDependedOnByOthers

Indicates whether other samples depend on this sample for decoding (type CFBoolean).

kCMSampleAttachmentKey_DependsOnOthers

Indicates whether the sample depends on other samples for decoding (type CFBoolean).

kCMSampleAttachmentKey_EarlierDisplayTimesAllowed

Indicates whether later samples may have earlier display times (type CFBoolean).

kCMSampleAttachmentKey_DisplayImmediately

Indicates whether the sample should be displayed immediately (type CFBoolean, default false).

kCMSampleAttachmentKey_DoNotDisplay

Indicates whether the sample should be decoded but not displayed (type CFBoolean, default false).