Instance Property


Returns the custom video compositor instance used by the receiver, if any.


var customVideoCompositor: AVVideoCompositing? { get }


The custom video compositor instance that is used during image generation is accessible via this property after the value of videoComposition is set to an AVVideoComposition instance that specifies a custom video compositor class. Any additional communication between the application and that instance of the custom video compositor, if any is required for configuration or other purposes, can only occur once that has happened.

If the value of videoComposition is changed from an AVVideoComposition that specifies a custom video compositor class to another instance of AVVideoComposition that specifies the same custom video compositor class, the instance of the custom video compositor that was previously created will receive the renderContextChanged(_:) message and remain in use for subsequent image generation.

This property is nil if there is no video compositor, or if the internal video compositor is in use.

See Also

Setting Video Properties

var videoComposition: AVVideoComposition?

The video composition to use for the output.

var videoSettings: [String : Any]?

The video settings used by the output.

var videoTracks: [AVAssetTrack]

The tracks from which the output reads composited video.