Contents

availableVideoCodecTypes

The video codecs types the output supports for recording movie files.

Declaration

var availableVideoCodecTypes: [AVVideoCodecType] { get }

Discussion

The first codec in this list is the default for recording movie files. To record using a different codec, call the setOutputSettings(_:for:) 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