CMFormatDescriptionGetMediaType(_:)
Returns the media type of a format description.
Declaration
func CMFormatDescriptionGetMediaType(_ desc: CMFormatDescription) -> CMMediaTypeParameters
- desc:
A
CMFormatDescriptionto examine.
Return Value
A media type that identifies the format description.
Discussion
For example, this function returns kCMMediaType_Audio for a description of an audio stream.