pub unsafe trait AVPlayerItemOutputPushDelegate:
NSObjectProtocol
+ Send
+ Sync {
// Provided method
unsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
where Self: Sized + Message { ... }
}Available on crate feature
AVPlayerItemOutput only.Expand description
Defines common delegate methods for objects participating in AVPlayerItemOutput push sample output acquisition.
Subclasses of this type that are used from Swift must fulfill the requirements of a Sendable type.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
unsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
A method invoked when the output is commencing a new sequence of media data.
This method is invoked after any seeking and change in playback direction. If you are maintaining any queued future media data, received previously, you may want to discard these after receiving this message.