Skip to content

AVCaptureSessionPreset

AVCaptureSessionPreset enumeration contains constants that define capture setting presets.

const AVCaptureSessionPreset = {
    Low: 0,
    Medium: 1,
    High: 2,
    Photo: 3,
    InputPriority: 4,
    QHD960x540: 5,
    Hd1280x720: 6,
    Hd1920x1080: 7,
    Hd4K3840x2160: 8,
    IFrame960x540: 9,
    IFrame1280x720: 10,
    Qvga320x240: 11,
    Vga640x480: 12,
    Cif352x288: 13,
}
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

Info

For more information, please see the official Apple documentation.

Back to top