Contents

availablePhotoCodecTypes

The compression codecs this capture output currently supports for photo capture.

Declaration

var availablePhotoCodecTypes: [AVVideoCodecType] { get }

Discussion

To capture a photo in a compressed format, such as JPEG, use the init(format:) initializer to create your photo settings object. In that initializer’s format dictionary, pass the key AVVideoCodecKey, whose value must be one of the codec identifiers listed in this array.

This property supports key-value observing.

See Also

Determining supported codec types