Instance Property

passthroughTrackID

The track identifier from an instruction source frame.

Declaration

var passthroughTrackID: CMPersistentTrackID { get }

Discussion

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software