Instance Property

naturalSize

The natural dimensions of the media data referenced by the track.

Declaration

var naturalSize: CGSize { get }

Discussion

For visual tracks, such as video or subtitle tracks, this returns the natural size of the media. For nonvisual tracks, such as audio or chapter tracks, this will return a value of CGSizeZero.

See Also

Retrieving Visual Characteristics

var preferredTransform: CGAffineTransform

The transform specified in the track’s storage container as the preferred transformation of the visual media data for display purposes.