Instance Property

availableVideoCodecTypes

The video codec types currently supported for recording movie files.

Declaration

@property(nonatomic, readonly) NSArray<AVVideoCodecType> *availableVideoCodecTypes;

Discussion

The first codec in this list is the default for recording movie files. To record using a different codec, call the setOutputSettings:forConnection: method, passing a video settings dictionary with a value for AVVideoCodecKey that matches one of the other values in this list.

See Also

Managing Output Settings

- supportedOutputSettingsKeysForConnection:

The list of supported keys for the output settings dictionary.

- outputSettingsForConnection:

Returns the options used to reencode media from a given connection as it's being recorded.

- setOutputSettings:forConnection:

Sets the options dictionary used to reencode media from the given connection as it's being recorded.

Video Settings Dictionaries

Define output image and video formats by using the key and value constants.

AVVideoCodecType

A set of constants used to describe codecs for video capture.