---
title: CMFormatDescription.MediaType
framework: coremedia
role: symbol
role_heading: Structure
path: coremedia/cmformatdescription/mediatype-swift.struct
---

# CMFormatDescription.MediaType

A type that describes format description media.

## Declaration

```swift
struct MediaType
```

## Topics

### Media Types

- [audio](coremedia/cmformatdescription/mediatype-swift.struct/audio.md)
- [closedCaption](coremedia/cmformatdescription/mediatype-swift.struct/closedcaption.md)
- [metadata](coremedia/cmformatdescription/mediatype-swift.struct/metadata.md)
- [muxed](coremedia/cmformatdescription/mediatype-swift.struct/muxed.md)
- [subtitle](coremedia/cmformatdescription/mediatype-swift.struct/subtitle.md)
- [text](coremedia/cmformatdescription/mediatype-swift.struct/text.md)
- [timeCode](coremedia/cmformatdescription/mediatype-swift.struct/timecode.md)
- [video](coremedia/cmformatdescription/mediatype-swift.struct/video.md)
- [taggedBufferGroup](coremedia/cmformatdescription/mediatype-swift.struct/taggedbuffergroup.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [extensionKeysCommonWithImageBuffers](coremedia/cmformatdescription/extensionkeyscommonwithimagebuffers.md)
- [typeID](coremedia/cmformatdescription/typeid.md)
- [CMFormatDescription.MediaSubType](coremedia/cmformatdescription/mediasubtype-swift.struct.md)
- [CMFormatDescription.TimeCode](coremedia/cmformatdescription/timecode.md)
- [CMFormatDescription.EqualityMask](coremedia/cmformatdescription/equalitymask.md)
- [CMFormatDescription.Extensions](coremedia/cmformatdescription/extensions-swift.struct.md)
- [CMFormatDescription.ParameterSetCollection](coremedia/cmformatdescription/parametersetcollection.md)
