kCMSampleBufferAttachmentKey_TransitionID
Marks a transition from one source of buffers to another.
Declaration
let kCMSampleBufferAttachmentKey_TransitionID: CFStringDiscussion
For example, during gapless playback of a list of songs, this attachment marks the first buffer from the next song. If this attachment is on a buffer containing no samples, the first following buffer that contains samples is the buffer that contains the first samples from the next song. The value of this attachment is a CFTypeRef. This transition identifier should be unique within a playlist, so each transition in a playlist is uniquely identifiable. A CFNumber counter that increments with each transition is a simple example.
See Also
Sample Buffer Keys
kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediatelykCMSampleBufferAttachmentKey_DrainAfterDecodingkCMSampleBufferAttachmentKey_DroppedFrameReasonkCMSampleBufferDroppedFrameReason_FrameWasLatekCMSampleBufferDroppedFrameReason_OutOfBufferskCMSampleBufferDroppedFrameReason_DiscontinuitykCMSampleBufferAttachmentKey_DroppedFrameReasonInfokCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitchkCMSampleBufferAttachmentKey_EmptyMediakCMSampleBufferAttachmentKey_EndsPreviousSampleDurationkCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilencekCMSampleBufferAttachmentKey_ForceKeyFramekCMSampleBufferAttachmentKey_GradualDecoderRefreshkCMSampleBufferAttachmentKey_PermanentEmptyMediakCMSampleBufferAttachmentKey_PostNotificationWhenConsumed