Instance Property

videoQuality

The video recording and transcoding quality.

Declaration

var videoQuality: UIImagePickerController.QualityType { get set }

Discussion

The video quality setting specified by this property is used during video recording. It is also used whenever picking a recorded movie. Specifically, if the video quality setting is lower than the video quality of an existing movie, displaying that movie in the picker results in transcoding the movie to the lower quality.

The various video qualities are listed in the UIImagePickerController.QualityType enumeration. The default value is UIImagePickerController.QualityType.typeMedium. To capture or transcode a movie using a video quality other than the default value, you must set the quality explicitly.

This property is available only if the mediaTypes property’s value array includes the kUTTypeMovie media type.

See Also

Configuring the Video Capture Options

enum UIImagePickerController.QualityType

Video quality settings for movies recorded with the built-in camera, or transcoded by displaying in the image picker.

var videoMaximumDuration: TimeInterval

The maximum duration, in seconds, for a video recording.