An abstract class that defines an interface for reading a single collection of samples of a common media type from an asset reader object.
SDKs
- iOS 4.1+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
class AVAssetReaderOutput : NSObject
Overview
There are several subclasses of AVAsset
for specific tasks, such as AVAsset
or AVAsset
.
You can read the media data of an asset by adding one or more concrete instances of AVAsset
to an AVAsset
object using add(_:)
.