web api instance property
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.
Values
A positive number indicating the number of channels.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
codecs.channelsoption in parameter passed toRTCRtpTransceiver.setCodecPreferences()andRTCRtpSender.setParameters().codecs.channelsin object returned byRTCRtpSender.getParameters()andRTCRtpReceiver.getParameters().