Instance Method

videoComposition(_:shouldContinueValidatingAfterFindingInvalidTrackIDIn:layerInstruction:asset:)

Reports a video composition layer instruction that does not correspond to the track ID used for the composition’s animation or to a track of the asset.

Declaration

optional func videoComposition(_ videoComposition: AVVideoComposition, shouldContinueValidatingAfterFindingInvalidTrackIDIn videoCompositionInstruction: AVVideoCompositionInstructionProtocol, layerInstruction: AVVideoCompositionLayerInstruction, asset: AVAsset) -> Bool

Parameters

videoComposition

The video composition being validated.

videoCompositionInstruction

The video composition instruction.

layerInstruction

The layer instruction.

asset

The underlying asset.

Return Value

true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.

Discussion

The asset track is specified in the isValid(for:timeRange:validationDelegate:) method.

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