An object that coordinates the output of content associated with a Core Video pixel buffer.
SDKs
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
class AVPlayerItemVideoOutput : AVPlayer Item Output
An object that coordinates the output of content associated with a Core Video pixel buffer.
SDKs
Framework
class AVPlayerItemVideoOutput : AVPlayer Item Output
init(pixel Buffer Attributes: [String : Any]?)
Creates a video output object using the specified pixel buffer attributes.
init(output Settings: [String : Any]?)
Creates a video output object initialized with the specified output settings.
func set Delegate(AVPlayer Item Output Pull Delegate?, queue: Dispatch Queue?)
Sets the delegate and dispatch queue for the receiver.
var delegate: AVPlayer Item Output Pull Delegate?
The delegate for the video output object.
protocol AVPlayer Item Output Pull Delegate
Methods you can implement to respond to pixel buffer changes.
var delegate Queue: Dispatch Queue?
The dispatch queue on which to call delegate methods.
func request Notification Of Media Data Change(with Advance Interval: Time Interval)
Tells the receiver that the video out put client is entering a quiescent state.
func has New Pixel Buffer(for Item Time: CMTime) -> Bool
Returns a Boolean value that indicates whether video output is available for the specified item time.
func copy Pixel Buffer(for Item Time: CMTime, item Time For Display: Unsafe Mutable Pointer<CMTime>?) -> CVPixel Buffer?
Retrieves an image that is appropriate for display at the specified item time, and marks the image as acquired.
class AVPlayer Item Output
The abstract class that defines the common interface for moving samples from an asset to a player.
protocol AVPlayer Item Output Push Delegate
Methods you can implement to respond to changes in the media data sequence.
class AVPlayer Item Legible Output
An object that can vend media with a legible characteristic as an attributed string.
class AVPlayer Item Metadata Output
An object used to vend collections of metadata items carried in metadata tracks.
class AVPlayer Item Media Data Collector
The abstract base for media data collectors.