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

Unified Diff: webrtc/call/audio_send_stream.h

Issue 2964593002: Adding stats that can be used to compute output audio levels. (Closed)
Patch Set: Record new stats in statscollector so they show up when getStats is called from Java and fix RTCSta… 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..57a2cdc82136807144737f506d790884c1f1768f 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.
hbos 2017/07/10 09:58:24 Ditto link.
Zach Stein 2017/07/10 18:35:20 Done.
+ double total_input_energy = 0.0;
+ double total_input_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