outputSequenceWasFlushed(_:)
Tells the delegate that a new sample sequence is commencing.
Declaration
optional func outputSequenceWasFlushed(_ output: AVPlayerItemOutput)Parameters
- output:
The output object that sent the message.
Discussion
This method is called after any attempt to seek or change the playback direction of the item’s content. If you are maintaining any queued future samples, you can use your implementation of this method to discard those samples.