Methods you can implement to indicate whether validation of a video composition should continue after specific errors are found.


@protocol AVVideoCompositionValidationHandling


You might chose to stop validation after particular errors have been found so as to avoid unnecessary subsequent processing following an eror from which there is no suitable recovery.


Configuring Validation Methods

- videoComposition:shouldContinueValidatingAfterFindingEmptyTimeRange:

Reports a time range that has no corresponding video composition instruction.

- videoComposition:shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:

Reports a video composition instruction with a time range that is invalid.

- videoComposition:shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction: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.


Inherits From

See Also

Validating the Time Range

- isValidForAsset:timeRange:validationDelegate:

Indicates whether the time ranges of the composition’s instructions conform to validation requirements.

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