Instance Method


Instructs the layer to discard any enqueued sample buffers that are pending.


- (void)flush;


Because it’s not possible to determine which sample buffers have been decoded, the next frame passed to enqueueSampleBuffer: should be an IDR frame (also known as a key frame or sync sample).

See Also

Flushing Sample Buffers

- flushAndRemoveImage

Instructs the layer to discard pending enqueued sample buffers and remove any currently displayed image.