Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The RTCAudioSourceStats
dictionary's audioLevel
property represents the audio level of the media source.
The level is averaged over some small implementation-dependent interval. Users can alternatively calculate the average audio level over some arbitrary duration using the algorithm described in the RTCAudioSourceStats
description.
Note: For audio levels of remotely sourced tracks, see RTCInboundRtpStreamStats.audioLevel
.