Class

AVSampleBufferAudioRenderer

An object used to decompress audio and play compressed or uncompressed audio.

Declaration

@interface AVSampleBufferAudioRenderer : NSObject

Overview

You must add an instance of this class to an AVSampleBufferRenderSynchronizer before queuing the first sample buffer.

Topics

Inspecting Sample Buffers

audioOutputDeviceUniqueID

The unique identifier of the output device used to play audio.

volume

The current audio volume for the audio renderer.

muted

A Boolean value that indicates whether audio for the renderer is in a muted state.

audioTimePitchAlgorithm

The processing algorithm used to manage audio pitch at different rates.

AVAudioTimePitchAlgorithm

An algorithm used to set the audio pitch as the rate changes.

status

The status of the audio renderer.

AVQueuedSampleBufferRenderingStatus

The statuses for sample buffer rendering.

Removing Queued Buffers

- flushFromSourceTime:completionHandler:

Flushes queued sample buffers with presentation time stamps later than or equal to the specified time.

Responding to Errors

error

The error that caused the renderer to no longer render sample buffers.

Relationships

Inherits From

See Also

Media Playback

AVPlayer

An object that provides the interface to control the player’s transport behavior.

AVQueuePlayer

A player used to play a number of items in sequence.

AVPlayerLayer

An object that manages a player's visual output.

AVPlayerItem

An object used to model the timing and presentation state of an asset played by the player.

AVPlayerItemMetadataCollector

An object used to capture the date range metadata defined for an HTTP Live Streaming asset.

AVPlayerItemTrack

An object used to modify the presentation state of an asset track being presented by a player.

AVSynchronizedLayer

An object used to synchronize with a specific player item.

AVPlayerMediaSelectionCriteria

An object that specifies the preferred languages and media characteristics for a player.

AVSampleBufferDisplayLayer

An object that displays compressed or uncompressed video frames.

AVSampleBufferRenderSynchronizer

An object used to synchronize multiple queued sample buffers to a single timeline.

AVRouteDetector

An object that detects the presences of media playback routes.