Instructs the layer to discard any enqueued sample buffers that are pending.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 10.2+
Because it’s not possible to determine which sample buffers have been decoded, the next frame passed to
enqueue should be an IDR frame (also known as a key frame or sync sample).