Instance Property


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


var currentVideoFrameRate: Float { get }


If the media type of the assetTrack is video, the property indicates the current frame rate of the track as it plays, in units of frames per second.

If the item is not playing, or if the media type of the track is not video, the value of this property is 0.0.

This property is not key-value observable.

See Also

Configuring Track Properties

var assetTrack: AVAssetTrack?

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

var isEnabled: Bool

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

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software