One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMSampleBuffer.PerSampleAttachmentsDictionary.Key

struct · iOS 13.0+ · SDK 27.1

struct Key

The following keys may be attached to individual samples via subscript

Members (16)

get · iOS 13.0+

audioIndependentSampleDecoderRefreshCount

TypeScript
get audioIndependentSampleDecoderRefreshCount(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let audioIndependentSampleDecoderRefreshCount: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

The audioIndependentSampleDecoderRefreshCount sample attachment is only present if the audio sample is an IndependentFrame (IF, value is non-zero) or ImmediatePlayoutFrame (IPF, value is zero).

get · iOS 13.0+

hevcSyncSampleNALUnitType

TypeScript
get hevcSyncSampleNALUnitType(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let hevcSyncSampleNALUnitType: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

Number, optional. Corresponds to `'sync'` sample group.

get · iOS 13.0+

partialSync

TypeScript
get partialSync(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let partialSync: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

Boolean (absence of this key implies not Partial Sync. If `notSync` is `false`, `partialSync` should be ignored.)

get · iOS 13.0+

doNotDisplay

TypeScript
get doNotDisplay(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let doNotDisplay: CMSampleBuffer.PerSampleAttachmentsDictionary.Key
get · iOS 13.0+

dependsOnOthers

TypeScript
get dependsOnOthers(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let dependsOnOthers: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

`true` (e.g., non-I-frame), `false` (e.g. I-frame), or absent if unknown

get · iOS 13.0+

displayImmediately

TypeScript
get displayImmediately(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let displayImmediately: CMSampleBuffer.PerSampleAttachmentsDictionary.Key
get · iOS 13.0+

hasRedundantCoding

TypeScript
get hasRedundantCoding(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let hasRedundantCoding: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

`true`, `false`, or absent if unknown

get · iOS 13.0+

isDependedOnByOthers

TypeScript
get isDependedOnByOthers(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let isDependedOnByOthers: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

`true`, `false`, or absent if unknown A frame is considered droppable if and only if `isDependedOnByOthers` is present and set to `false`.

get · iOS 13.0+

hevcTemporalLevelInfo

TypeScript
get hevcTemporalLevelInfo(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let hevcTemporalLevelInfo: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

Indicates a video frame's level within a hierarchical frame dependency structure. When present, the temporal level attachments among a group of video frames provide information about where inter-frame dependencies may and may not exist. The temporal level attachment, if present, is a positive number, and indicates that this video frame does not depend on any video frame with a greater temporal level. The attachment may be absent if no such information is available. Corresponds to `'tscl'` sample group.

get · iOS 13.0+

earlierDisplayTimesAllowed

TypeScript
get earlierDisplayTimesAllowed(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let earlierDisplayTimesAllowed: CMSampleBuffer.PerSampleAttachmentsDictionary.Key
get · iOS 13.0+

hevcTemporalSubLayerAccess

TypeScript
get hevcTemporalSubLayerAccess(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let hevcTemporalSubLayerAccess: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

Boolean, optional. Corresponds to `'tsas'` sample group.

get · iOS 13.0+

hevcStepwiseTemporalSubLayerAccess

TypeScript
get hevcStepwiseTemporalSubLayerAccess(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let hevcStepwiseTemporalSubLayerAccess: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

Boolean, optional. Corresponds to 'stsa' sample group.

get · iOS 13.0+

notSync

TypeScript
get notSync(): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
static let notSync: CMSampleBuffer.PerSampleAttachmentsDictionary.Key

Boolean (absence of this key implies Sync)

init · iOS 13.0+

init

TypeScript
init(rawValue: _CoreFoundation_CFString): CMSampleBuffer_PerSampleAttachmentsDictionary_Key
Swift declaration
init(rawValue: CFString)

Creates a new instance with the specified raw value. If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example: enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil" - Parameter rawValue: The raw value to use for the new instance.

get · iOS 13.0+

rawValue

TypeScript
getRawValue($self: CMSampleBuffer_PerSampleAttachmentsDictionary_Key): _CoreFoundation_CFString
Swift declaration
var rawValue: CFString

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

set · iOS 13.0+

rawValue

TypeScript
setRawValue($self: CMSampleBuffer_PerSampleAttachmentsDictionary_Key, value: _CoreFoundation_CFString): void
Swift declaration
var rawValue: CFString

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CMSampleBuffer.PerSampleAttachmentsDictionary.Key

The iOS SDK compiler rejected this binding: type 'CMSampleBuffer.PerSampleAttachmentsDictionary.Key' does not conform to protocol 'OneSDKNamedConstants'

All CoreMedia types →