Instance Property

status

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

Declaration

@property(readonly) AVAssetReaderStatus status;

Discussion

This property is thread safe. For possible values, see AVAssetReaderStatus.

The value of this property indicates whether reading is in progress, has completed successfully, has been canceled, or has failed. You should check the value of this property after the AVAssetReaderOutput method copyNextSampleBuffer returns NULL to determine why no more samples could be read.

See Also

Controlling Reading

AVAssetReaderStatus

The statuses for a reader.

- 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.