Protocol

AVQueuedSampleBufferRendering

Methods you can implement to enqueue sample buffers for presentation.

Declaration

@protocol AVQueuedSampleBufferRendering

Overview

AVSampleBufferDisplayLayer and AVSampleBufferAudioRenderer conform to this protocol. When used in conjunction with an AVSampleBufferRenderSynchronizer, an object conforming to AVQueuedSampleBufferRendering can only be attached to a single synchronizer.

Topics

Requesting Media

readyForMoreMediaData

A Boolean value that indicates whether the receiver is able to accept more sample buffers.

Required.

- enqueueSampleBuffer:

Sends a sample buffer to the queue for rendering.

Required.

- requestMediaDataWhenReadyOnQueue:usingBlock:

Tells the target to invoke a client-supplied block in order to gather sample buffers for playback.

Required.

Clearing Queued Sample Buffers

- flush

Discards all pending enqueued sample buffers.

Required.

Indentifying the Timebase

timebase

The timebase for a renderer.

Required.

Relationships

Inherits From

See Also

Sample Buffer Manipulation

AVSampleBufferRequest

An object that describes a sample buffer creation request.

AVSampleCursor

An object that provides information about the current media sample at its current position.

AVSampleBufferGenerator

An object used to create sample buffer opaque objects.