AVAssetReader
An object that reads media data from an asset.
Declaration
class AVAssetReaderOverview
Use an asset reader to read media data from instances of AVAsset. The assets you read may represent file-based media like QuickTime movies or MPEG-4 files, or media that you compose from multiple sources using AVComposition.
Topics
Creating an asset reader
Managing outputs
Accessing output providers
outputProvider(for:)outputProviderWithRandomAccess(for:)outputCaptionProvider(for:validationDelegate:)outputCaptionProviderWithRandomAccess(for:validationDelegate:)outputMetadataProvider(for:)outputMetadataProviderWithRandomAccess(for:)