Instance Method


Copies the next sample buffer for the output.


- (CMSampleBufferRef)copyNextSampleBuffer;

Return Value

The output sample buffer, or NULL if there are no more sample buffers available for the output within the time range specified by the asset reader’s timeRange property. Ownership follows the The Create Rule.


If this method returns NULL, you should check the value of the associated AVAssetReader object’s status property to determine why it couldn't read any more samples.

See Also

Copying a Buffer


A Boolean value that indicates whether to vend data in buffers before copying.