totalAudioEnergy property represents the total audio energy of the media source over the lifetime of this stats object.
The total energy across a particular duration can be determined by subtracting the value of this property returned by two different
Note: For audio energy of remotely sourced tracks, see
A number produced by summing the energy of every sample over the lifetime of this stats object.
The energy of each sample is calculated by dividing the sample's value by the highest-intensity encodable value, squaring the result, and then multiplying by the duration of the sample in seconds. This is shown as an equation below:
Note that if multiple audio channels are used, the audio energy of a sample refers to the highest energy of any channel.
|Identifiers for WebRTC's Statistics API
BCD tables only load in the browser