Instance Method

outputSequenceWasFlushed(_:)

Asks the delegate whether the current output sequence was flushed.

Declaration

optional func outputSequenceWasFlushed(_ output: AVPlayerItemOutput)

Parameters

output

The AVPlayerItemOutput object.

Discussion

This method is invoked after any seeking and change in playback direction. If you are maintaining any queued future media data, you may want to discard those objects after receiving this message.