This feature is not Baseline because it does not work in some of the most widely-used browsers.
The audioLevel property of the RTCInboundRtpStreamStats dictionary indicates the audio level of the received (remote) track.
The audioLevel is averaged over some small interval, using the algorithm described under totalAudioEnergy. The interval used is implementation dependent.
Note: The value is undefined for video streams.
A real number.
The value is between 0..1 (linear), where 1.0 represents 0 dBov (decibels relative to full scale (DBFS)), 0 represents silence, and 0.5 represents approximately 6 dB SPL change in the sound pressure level from 0 dBov.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
audioLevel |
86 | 86 | 106 | 72 | 14.1–16.3 | 86 | 106 | 61 | No | 14.0 | 86 | No |
RTCAudioSourceStats.audioLevel for audio levels of local tracks (that are being sent)
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCInboundRtpStreamStats/audioLevel