Contents

naturalSize

The natural dimensions of the media data that the track references.

Declaration

static var naturalSize: AVAsyncProperty<Root, CGSize> { get }

Discussion

Use the load(_:isolation:) method to retrieve the property value.

For visual tracks, like video or subtitle tracks, this property value is the natural size of the media. For nonvisual tracks, like audio or chapter tracks, the value is zero.

See Also

Loading visual characteristics