RTCCodecStats: channels property

The channels property of the RTCCodecStats dictionary is a positive number containing the number of channels supported by the codec.

For audio codecs, a value of 1 specifies monaural sound while 2 indicates stereo.


A positive number indicating the number of channels.


Identifiers for WebRTC's Statistics API
# dom-rtccodecstats-channels

Browser compatibility

BCD tables only load in the browser

See also