Class

AVPlayerItemTrack

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

Declaration

@interface AVPlayerItemTrack : NSObject

Overview

This class is intended to represent the presentation state for a track of an asset that's played by an AVPlayer and AVPlayerItem. To ensure safe access to nonatomic properties while dynamic changes in playback state may be reported, clients must serialize their access with the associated AVPlayer notification queue. Serialization is naturally achieved by invoking the AVPlayerItemTrack methods on the main thread or queue.

Topics

Configuring Track Properties

assetTrack

The asset track for which the player item track represents its presentation state.

enabled

A Boolean value that indicates whether the track is enabled for presentation during playback.

currentVideoFrameRate

The current frame rate of the video track as it plays.

videoFieldMode

A mode that specifies the handling of video frames that contain multiple fields.

AVPlayerItemTrackVideoFieldModeDeinterlaceFields

A video field mode used to request deinterlacing of video fields.

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.

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.

AVSampleBufferAudioRenderer

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

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.