Creates a format description for a muxed media stream.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
- Core Media
CFAllocatorto be used. Pass
kto use the default allocator.
Type of the muxed stream (e.g.
kfor MPEG-2 transport stream). This is the media subtype, and will be returned if you subsequently call
CMMuxed Stream Type _MPEG2Transport
Description Get Media Sub Type
Format Description Get Stream Type
Dictionary of extension key/value pairs. Keys are always of type
CFString. Values are always property list objects (i.e..
CFNumber). Can be
On output, returns newly created muxed
A result code. Returns
no if successful.
A muxed format description does not know the formats of the sub-streams within the muxed stream. That information will only be discoverable by the demuxer software (or other software which understands the details of the muxed bitstream) which will need to produce separate format descriptions for each of its output streams. The caller owns the returned
CMFormat, and must release it when done with it. All input parameters are copied (the extensions are deep-copied). The caller can deallocate them or re-use them after making this call.