init
TypeScriptstatic init(configuration?: (AVPlayerItemSampleBufferOutputConfiguration) | null): AVPlayerItemSampleBufferOutputSwift declarationinit(configuration: AVPlayerItemSampleBufferOutputConfiguration?)class · iOS 27.0+ · SDK 27.1
class AVPlayerItemSampleBufferOutputstatic init(configuration?: (AVPlayerItemSampleBufferOutputConfiguration) | null): AVPlayerItemSampleBufferOutputSwift declarationinit(configuration: AVPlayerItemSampleBufferOutputConfiguration?)nextAvailableSampleBuffer(): (AVPlayerItemSampleBufferOutput_SampleBufferInSequence) | nullSwift declarationfunc nextAvailableSampleBuffer() -> AVPlayerItemSampleBufferOutput.SampleBufferInSequence?Returns the next sample buffer if it is already available. If no sample buffers are ready, this method will return nil immediately. This method will race with ``nextSampleBuffer()`` for grabbing the generated sample buffer.
nextSampleBuffer(): Promise<(AVPlayerItemSampleBufferOutput_SampleBufferInSequence) | null>Swift declarationnonisolated func nextSampleBuffer() async -> AVPlayerItemSampleBufferOutput.SampleBufferInSequence?Returns next sample buffer once it becomes available. This method will wait indefinitely for the next sample buffer to become available. This method returns nil if the current task is cancelled or if this method is called from a different task. This method will race with ``nextAvailableSampleBuffer()`` for grabbing the generated sample buffer.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVPlayerItemSampleBufferOutput.init()
inherited init: cannot prove legal (class declares 1 custom initializer)