Instance Property

mediaSubTypes

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

Declaration

var mediaSubTypes: [NSNumber] { get }

Discussion

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.