---
title: channelCount
framework: screencapturekit
role: symbol
role_heading: Instance Property
path: screencapturekit/scstreamconfiguration/channelcount
---

# channelCount

The number of audio channels to capture.

## Declaration

```swift
var channelCount: Int { get set }
```

## Discussion

Discussion The framework supports channel counts of 1 (mono) or 2 (stereo). If you don’t specify a channel count, or specify an unsupported value, the system defaults to stereo audio capture.

## See Also

### Configuring audio

- [capturesAudio](screencapturekit/scstreamconfiguration/capturesaudio.md)
- [sampleRate](screencapturekit/scstreamconfiguration/samplerate.md)
- [excludesCurrentProcessAudio](screencapturekit/scstreamconfiguration/excludescurrentprocessaudio.md)
