Instance Property

assetTrack

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

Declaration

var assetTrack: AVAssetTrack? { get }

Discussion

Clients must serialize their access to the resulting AVAssetTrack and related objects on the associated AVPlayer instance’s notification queue. By default, this queue is the main queue. This property is not key-value observable.

See Also

Configuring Track Properties

var isEnabled: Bool

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

var currentVideoFrameRate: Float

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

var videoFieldMode: String?

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

let AVPlayerItemTrackVideoFieldModeDeinterlaceFields: String

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