Contents

outputMetadataProviderWithRandomAccess(for:)

Attaches the output to the reader and returns a tuple with an output provider for timed metadata groups buffers, and an associated random access controller.

Declaration

func outputMetadataProviderWithRandomAccess(for output: AVAssetReaderTrackOutput) -> sending (AVAssetReaderOutput.Provider<AVTimedMetadataGroup>, AVAssetReaderOutput.RandomAccessController)

Parameters

  • output:

    The output to be attached to the reader.

Return Value

A tuple with an output provider for reading timed metadata groups, and an associated random access controller.

See Also

Accessing output providers