pub unsafe trait AVPlayerItemOutputPullDelegate: NSObjectProtocol {
// Provided methods
unsafe fn outputMediaDataWillChange(&self, sender: &AVPlayerItemOutput)
where Self: Sized + Message { ... }
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 pull sample output acquisition.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn outputMediaDataWillChange(&self, sender: &AVPlayerItemOutput)
unsafe fn outputMediaDataWillChange(&self, sender: &AVPlayerItemOutput)
A method invoked once, prior to a new sample, if the AVPlayerItemOutput sender was previously messaged requestNotificationOfMediaDataChangeWithAdvanceInterval:.
This method is invoked once after the sender is messaged requestNotificationOfMediaDataChangeWithAdvanceInterval:.
Sourceunsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
unsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
A method invoked when the output is commencing a new sequence.
This method is invoked after any seeking and change in playback direction. If you are maintaining any queued future samples, copied previously, you may want to discard these after receiving this message.