RTCCodecStats: channels-Eigenschaft
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
Die channels
-Eigenschaft des RTCCodecStats
-Wörterbuchs ist eine positive Zahl, die die Anzahl der vom Codec unterstützten Kanäle enthält.
Für Audiocodecs gibt ein Wert von 1 monauralen Sound an, während 2 Stereo bedeutet.
Werte
Eine positive Zahl, die die Anzahl der Kanäle angibt.
Spezifikationen
Specification |
---|
Identifiers for WebRTC's Statistics API # dom-rtccodecstats-channels |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
channels in 'codec' stats |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Siehe auch
codecs.channels
-Option im Parameter, der anRTCRtpTransceiver.setCodecPreferences()
undRTCRtpSender.setParameters()
übergeben wird.codecs.channels
im Objekt, das vonRTCRtpSender.getParameters()
undRTCRtpReceiver.getParameters()
zurückgegeben wird.