Contents

init(videoTracks:videoSettings:)

Creates an object that reads composited video frames from the specified video tracks.

Declaration

init(videoTracks: [AVAssetTrack], videoSettings: [String : Any]?)

Parameters

  • videoTracks:

    An array of asset tracks from which to read video frames for compositing. The media type of each track must be Video.

  • videoSettings:

    Specifying a nil value configures the output to return samples in an uncompressed format.