Instance Property


The track identifier from an instruction source frame.


var passthroughTrackID: CMPersistentTrackID { get }


If the video composition result is one of the source frames for the duration of the instruction, this property returns the corresponding track ID. The compositor won't be run for the duration of the instruction and the proper source frame will be used instead. The value of this property is computed from the layer instructions

See Also

Getting Composition Instruction Properties

var backgroundColor: CGColor?

The background color of the composition.

var layerInstructions: [AVVideoCompositionLayerInstruction]

An array of video composition layer instruction instances of that specify how video frames from source tracks should be layered and composed.

var timeRange: CMTimeRange

The time range during which the instruction is effective.

var enablePostProcessing: Bool

A Boolean value that indicates whether post processing is required for the video composition instruction.

var requiredSourceTrackIDs: [NSValue]

An array of track identifiers required to compose frames for the instruction.