diff --git a/webrtc-stats.html b/webrtc-stats.html index 51a361c..52544d5 100644 --- a/webrtc-stats.html +++ b/webrtc-stats.html @@ -2306,6 +2306,8 @@

double echoReturnLoss; double echoReturnLossEnhancement; double droppedSamplesDuration; + double totalCaptureDelay; + unsigned long long totalSamplesCaptured; };

@@ -2438,6 +2440,34 @@

media source.

+
+ totalCaptureDelay of type double +
+
+

+ Only applicable if the audio source represents an audio + capture device. This is the total delay, in seconds, for each + audio sample between the time the sample was emitted by the + capture device and the sample reaching the source. This can be + used together with {{totalSamplesCaptured}} to calculate the + average capture delay per sample. +

+
+
+ totalSamplesCaptured of type unsigned long long +
+
+

+ Only applicable if the audio source represents an audio + capture device. This is the total number of captured samples + reaching the audio source, i.e. that were not dropped by the + capture pipeline. The frequency of the media source is not + necessarily the same as the frequency of encoders later in the + pipeline. +

+