Instance Property

timeRange

The time range to read from the asset.

Declaration

@property(nonatomic) CMTimeRange timeRange;

Discussion

The intersection of the value of this property and CMTimeRangeMake(kCMTimeZero, asset.duration) determines the time range of the asset for reading media data.

The default value is CMTimeRangeMake(kCMTimeZero, kCMTimePositiveInfinity). You cannot change the value of this property after starting reading.

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.

- cancelReading

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

error

Describes the error that occurred.