Back to Content

RTCCodecStats: channels property

files/en-us/web/api/rtccodecstats/channels/index.md

latest902 B
Original Source

{{APIRef("WebRTC")}}

The channels property of the {{domxref("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.

Values

A positive number indicating the number of channels.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also