A media format descriptor that describes the samples in a sample buffer.
Framework
- Core Media
Overview
CMFormat
are immutable Core Foundation objects that describe media data of various types, including audio, video, and muxed media data. There are two types of API: media-type-agnostic APIs (supported by all CMFormatDescriptions) and media-type-specific APIs. The media-type-agnostic APIs are prefixed with CMFormat
, and the media-type-specific APIs are prefixed with CMAudio
, CMVideo
, and so on.