---
title: sessionPreset
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturesession/sessionpreset
---

# sessionPreset

A preset value that indicates the quality level or bit rate of the output.

## Declaration

```swift
var sessionPreset: AVCaptureSession.Preset { get set }
```

## Discussion

Discussion Specify a preset value to configure a capture session’s format and settings. The default preset is high, which produces high-quality video and audio output, but you can specify any preset value that returns true for a call to canSetSessionPreset(_:). You can set this value while the session is running.

## See Also

### Setting a session preset

- [AVCaptureSession.Preset](avfoundation/avcapturesession/preset.md)
- [canSetSessionPreset(_:)](avfoundation/avcapturesession/cansetsessionpreset(_:).md)
