outputSequenceWasFlushed(_:)
Tells the delegate that the output is starting a new sequence of media data.
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.