Methods you can implement to respond to pixel buffer changes.


protocol AVPlayerItemOutputPullDelegate


The methods in this protocol are called by AVPlayerItemVideoOutput objects.


Responding to Pixel Buffer Changes

func outputMediaDataWillChange(AVPlayerItemOutput)

Tells the delegate that new samples are about to arrive.

func outputSequenceWasFlushed(AVPlayerItemOutput)

Tells the delegate that a new sample sequence is commencing.


Inherits From

See Also

Accessing the Delegate

func setDelegate(AVPlayerItemOutputPullDelegate?, queue: DispatchQueue?)

Sets the delegate and dispatch queue for the receiver.

var delegate: AVPlayerItemOutputPullDelegate?

The delegate for the video output object.

var delegateQueue: DispatchQueue?

The dispatch queue on which to call delegate methods.

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