Instance Method


Sets the delegate and dispatch queue for the receiver.


func setDelegate(_ delegate: AVPlayerItemOutputPullDelegate?, queue delegateQueue: DispatchQueue?)



The delegate object for the receiver. You may specify nil for this parameter.


The dispatch queue on which to call delegate methods. If you specify nil for this parameter, the video output object calls the delegate on the dispatch queue for your app’s main thread.

See Also

Accessing the Delegate

var delegate: AVPlayerItemOutputPullDelegate?

The delegate for the video output object.

protocol AVPlayerItemOutputPullDelegate

Methods you can implement to respond to pixel buffer changes.

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