Instance Method

cancelReading

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

Declaration

- (void)cancelReading;

Discussion

If you want to stop reading samples from the receiver before reaching the end of its time range, you should call this method to stop any background read ahead operations that the may have been in progress.

See Also

Controlling Reading

status

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

AVAssetReaderStatus

The statuses for a reader.

- startReading

Prepares the receiver for obtaining sample buffers from the asset.

error

Describes the error that occurred.

timeRange

The time range to read from the asset.