Contents

init(assetReaderTrackOutput:)

Creates an object that reads timed metadata groups from an asset reader output.

Declaration

init(assetReaderTrackOutput trackOutput: AVAssetReaderTrackOutput)

Parameters

  • trackOutput:

    A track output that vends sample buffers that contain metadata.

Discussion

You can only create an adaptor with a track output that vends metadata, and that isn’t associated with another adaptor instance. Likewise, you can only create an adaptor with a track output whose asset reader hasn’t started reading.