Chromium Code Reviews

Unified Diff: webrtc/call/audio_send_stream.h

Issue 2964593002: Adding stats that can be used to compute output audio levels. (Closed)
Patch Set: Remove unnecessary TODOs and address style feedback. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/call/audio_send_stream.h
diff --git a/webrtc/call/audio_send_stream.h b/webrtc/call/audio_send_stream.h
index 6c7e707d93bcd8b9710c7b20dc90fa7262be110a..70dabaadf5a0b7cd0ad52daa25bd789e62f4003b 100644
--- a/webrtc/call/audio_send_stream.h
+++ b/webrtc/call/audio_send_stream.h
@@ -47,6 +47,9 @@ class AudioSendStream {
int32_t jitter_ms = -1;
int64_t rtt_ms = -1;
int32_t audio_level = -1;
+ // See description of "totalAudioEnergy" in the WebRTC stats spec.
+ double total_output_energy = 0.0;
+ double total_output_duration = 0.0;
float aec_quality_min = -1.0f;
int32_t echo_delay_median_ms = -1;
int32_t echo_delay_std_ms = -1;

Powered by Google App Engine