Instance Property


The media sub-types of the media data associated with the option.


var mediaSubTypes: [NSNumber] { get }


The value is an array of NSNumber objects carrying four character codes (of type FourCharCode) as defined in CoreAudioTypes.h for audio media and in CMFormatDescription.h for video media.

Also see CMFormatDescriptionGetMediaSubType(_:) for more information about media subtypes.

See Also

Managing Media Types

var mediaType: AVMediaType

The media type of the media data.

func hasMediaCharacteristic(AVMediaCharacteristic) -> Bool

Returns a Boolean value that indicates whether the receiver has media with the given media characteristic.