Sample Attachment Keys
Keys that specify attachments to individual samples in a buffer.
Overview
You can get and set sample-level attachments in a sample buffer using the CMSampleBufferGetSampleAttachmentsArray(_:createIfNecessary:) function.
Topics
Sample Keys
kCMSampleAttachmentKey_NotSynckCMSampleAttachmentKey_PartialSynckCMSampleAttachmentKey_DependsOnOtherskCMSampleAttachmentKey_IsDependedOnByOtherskCMSampleAttachmentKey_DisplayImmediatelykCMSampleAttachmentKey_DoNotDisplaykCMSampleAttachmentKey_EarlierDisplayTimesAllowedkCMSampleAttachmentKey_HasRedundantCodingkCMSampleAttachmentKey_PostDecodeProcessingMetadata
Sample Buffer Keys
kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediatelykCMSampleBufferAttachmentKey_DrainAfterDecodingkCMSampleBufferAttachmentKey_DroppedFrameReasonkCMSampleBufferDroppedFrameReason_FrameWasLatekCMSampleBufferDroppedFrameReason_OutOfBufferskCMSampleBufferDroppedFrameReason_DiscontinuitykCMSampleBufferAttachmentKey_DroppedFrameReasonInfokCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitchkCMSampleBufferAttachmentKey_EmptyMediakCMSampleBufferAttachmentKey_EndsPreviousSampleDurationkCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilencekCMSampleBufferAttachmentKey_ForceKeyFramekCMSampleBufferAttachmentKey_GradualDecoderRefreshkCMSampleBufferAttachmentKey_PermanentEmptyMediakCMSampleBufferAttachmentKey_PostNotificationWhenConsumedkCMSampleBufferAttachmentKey_ResetDecoderBeforeDecodingkCMSampleBufferAttachmentKey_ResumeOutputkCMSampleBufferAttachmentKey_ReversekCMSampleBufferAttachmentKey_SampleReferenceByteOffsetkCMSampleBufferAttachmentKey_SampleReferenceURLkCMSampleBufferAttachmentKey_SpeedMultiplierkCMSampleBufferAttachmentKey_StillImageLensStabilizationInfokCMSampleBufferLensStabilizationInfo_ActivekCMSampleBufferLensStabilizationInfo_OutOfRangekCMSampleBufferLensStabilizationInfo_UnavailablekCMSampleBufferLensStabilizationInfo_OffkCMSampleBufferAttachmentKey_TransitionIDkCMSampleBufferAttachmentKey_TrimDurationAtEndkCMSampleBufferAttachmentKey_TrimDurationAtStart