WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived calculations, and extracted features, to better understand call quality, connectivity, and user experience in rtcStats
Back
On this page2 sections
outboundaudio
media-source.totalSamplesDuration
Last updated Applies toany rtcStats setup
The audio duration of the media source.
Description
Real number; in seconds
MUST NOT exist for video (this is audio only).
Represents the audio duration of the media source.
Represents the total duration in seconds of all samples that have been produced by this source for the lifetime of this stats object. Can be used with totalAudioEnergy to compute an average audio level over different intervals.
See also
- media-source->totalAudioEnergy
- WebRTC Statistics Specification

Was this page helpful?