WebRTC Metrics

A comprehensive overview of WebRTC statistics, derived indicators, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats

Back
media-sourceoutboundaudio

totalSamplesDuration

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.