audioLevel

inbound-rtpinboundaudio

The audio level of the receiving track.

Description

Real number; in dBov

MUST NOT exist for video (this is audio only).

Represents the audio level of the receiving track. For audio levels of tracks attached locally, see RTCAudioSourceStats instead.

The value is between 0..1 (linear), where 1.0 represents 0 dBov, 0 represents silence, and 0.5 represents approximately 6 dBSPL change in the sound pressure level from 0 dBov.

The audioLevel is averaged over some small interval, using the algorithm described under totalAudioEnergy. The interval used is implementation-defined.

See also