init
TypeScriptstatic init(specification: AVVideoOutputSpecification): AVPlayerVideoOutputSwift declarationinit(specification: AVVideoOutputSpecification)class · iOS 17.2+ · SDK 27.1
class AVPlayerVideoOutputstatic init(specification: AVVideoOutputSpecification): AVPlayerVideoOutputSwift declarationinit(specification: AVVideoOutputSpecification)taggedBuffers(hostTime: _CoreMedia_CMTime): ({ "taggedBufferGroup": Array<_CoreMedia_CMTaggedBuffer>; "presentationTime": _CoreMedia_CMTime; "activeConfiguration": AVPlayerVideoOutput_Configuration }) | nullSwift declarationfunc 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.
sample(hostTime: _CoreMedia_CMTime): (AVPlayerVideoOutput_Sample) | nullSwift declarationfunc 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.
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)