Instance Method


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


func flushAndRemoveImage()


It is not possible to determine which sample buffers have been decoded, so the next frame passed to enqueue(_:) should be an IDR frame (also known as a key frame or sync sample).

See Also

Flushing Sample Buffers

func flush()

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