Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The RTCAudioSourceStats dictionary's 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 getStats() calls.
Note: For audio energy of remotely sourced tracks, see RTCInboundRtpStreamStats.totalAudioEnergy.