One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVPlayerVideoOutput

class · iOS 17.2+ · SDK 27.1

class AVPlayerVideoOutput

Members (3)

init · iOS 17.2+

init

TypeScript
static init(specification: AVVideoOutputSpecification): AVPlayerVideoOutput
Swift declaration
init(specification: AVVideoOutputSpecification)
method · iOS 17.2+ · Deprecated in iOS 27.0

taggedBuffers

TypeScript
taggedBuffers(hostTime: _CoreMedia_CMTime): ({ "taggedBufferGroup": Array<_CoreMedia_CMTaggedBuffer>; "presentationTime": _CoreMedia_CMTime; "activeConfiguration": AVPlayerVideoOutput_Configuration }) | null
Swift declaration
func taggedBuffers(forHostTime hostTime: CMTime) -> (taggedBufferGroup: [CMTaggedBuffer], presentationTime: CMTime, activeConfiguration: AVPlayerVideoOutput.Configuration)?

Retrieves a video frame along with auxiliary information for display at the specified host time. - Parameter hostTime: A CMTime that expresses a desired host time. - Returns: A tuple containing the frame, presentation timestamp, and active configuration for the specified host time, or nil if no frame was available for that host time. - taggedBufferGroup: An array of CMTaggedBuffers containing the frame for the specified time. - presentationTime: A CMTime whose value is the presentation time in terms of the corresponding AVPlayerItem's timebase for the associated taggedBufferGroup. - activeConfiguration: The active configuration corresponding to the associated taggedBufferGroup.

method · iOS 26.0+

sample

TypeScript
sample(hostTime: _CoreMedia_CMTime): (AVPlayerVideoOutput_Sample) | null
Swift declaration
func sample(forHostTime hostTime: CMTime) -> AVPlayerVideoOutput.Sample?

Retrieves a video sample along with auxiliary information for display at the specified host time. - Parameter hostTime: A CMTime that expresses a desired host time. - Returns: A sample containing the frame, presentation timestamp, and active configuration for the specified host time, or nil if no sample was available for that host time.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVPlayerVideoOutput.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFoundation types →