Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698