WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived indicators, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats
Back
codeccodecaudio
channels
Number of audio channels used by this codec.
Description
Unsigned short
MUST NOT exist for video (this is audio only).
The number of channels supported by the codec. Only present for audio codecs. Typically 1 (mono) or 2 (stereo).
See also
- codec->mimeType
- codec->clockRate
- WebRTC Statistics Specification

Notes
- Most WebRTC voice calls use mono (1 channel). Opus supports stereo (2 channels) and is often used in stereo for music or high-quality audio scenarios
- There are some services that enable stereo even when it makes no sense. This doubles the bitrate requirements and increases CPU use. If you are using stereo in your implementation, be sure you understand the reasons why