Enumeration

AVAssetReaderStatus

The statuses for a reader.

Declaration

typedef enum AVAssetReaderStatus : NSInteger {
    ...
} AVAssetReaderStatus;

Overview

You access the reader’s status using the status property.

Topics

Reader Statuses

AVAssetReaderStatusUnknown

The status of the reader is unknown.

AVAssetReaderStatusReading

The reader is ready to provide more sample buffers to its outputs.

AVAssetReaderStatusCompleted

The reader finished providing all available sample buffers to all of its outputs.

AVAssetReaderStatusFailed

The reading failed.

AVAssetReaderStatusCancelled

The reading was canceled.

See Also

Controlling Reading

status

The status of the reading of sample buffers from the asset.

- startReading

Prepares the receiver for obtaining sample buffers from the asset.

- cancelReading

Cancels any background work and prevents the receiver’s outputs from reading more samples.

error

Describes the error that occurred.

timeRange

The time range to read from the asset.