AVCaptureSessionPreset
This page covers the description of the AVCaptureSessionPreset enumeration
AVCaptureSessionPreset enumeration defines capture setting presets.
1
const AVCaptureSessionPreset = {
2
Low: 0,
3
Medium: 1,
4
High: 2,
5
Photo: 3,
6
InputPriority: 4,
7
QHD960x540: 5,
8
Hd1280x720: 6,
9
Hd1920x1080: 7,
10
Hd4K3840x2160: 8,
11
IFrame960x540: 9,
12
IFrame1280x720: 10,
13
Qvga320x240: 11,
14
Vga640x480: 12,
15
Cif352x288: 13,
16
}
Copied!
Constant
Description
Low
specifies capture settings suitable for output video and audio bit rates suitable for sharing over 3G
Medium
specifies capture settings suitable for output video and audio bit rates suitable for sharing over WiFi
High
specifies capture settings suitable for high-quality video and audio output
Photo
specifies capture settings suitable for high-resolution photo quality output
InputPriority
specifies that the capture session does not control audio and video output settings
QHD960x540
specifies capture settings suitable for quarter HD quality (960 x 540 pixel) video output
HD1280x720
specifies capture settings suitable for 720p quality (1280 x 720 pixel) video output
HD1920x1080
capture settings suitable for 1080p-quality (1920 x 1080 pixels) video output
HD4K3840x2160
capture settings suitable for 2160p-quality (3840 x 2160 pixels) video output
IFrame960x540
specifies capture settings to achieve 960 x 540 quality iFrame H.264 video at about 30 Mbits/sec with AAC audio
IFrame1280x720
specifies capture settings to achieve 1280 x 720 quality iFrame H.264 video at about 40 Mbits/sec with AAC audio
QVGA320x240
specifies capture settings suitable for 320 x 240 pixel video output
VGA640x480
specifies capture settings suitable for VGA quality (640 x 480 pixel) video output
CIF352x288
specifies capture settings suitable for CIF quality (352 x 288 pixel) video output
For more information, please see the official Apple documentation.
Last modified 1mo ago
Copy link