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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software