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

Unified Diff: webrtc/media/engine/webrtcvoiceengine.cc

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Addressed review comments. Created 3 years, 3 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/media/engine/webrtcvoiceengine.cc
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc
index 8c45e953e433a6b64abdafc7a6c748bad13bab8d..9fb7438ee1b8801ba914888e838987b0cfba7595 100644
--- a/webrtc/media/engine/webrtcvoiceengine.cc
+++ b/webrtc/media/engine/webrtcvoiceengine.cc
@@ -2260,6 +2260,12 @@ bool WebRtcVoiceMediaChannel::GetStats(VoiceMediaInfo* info) {
sinfo.residual_echo_likelihood_recent_max =
stats.residual_echo_likelihood_recent_max;
sinfo.typing_noise_detected = (send_ ? stats.typing_noise_detected : false);
+ sinfo.ana_bitrate_action_counter = stats.ana_bitrate_action_counter;
+ sinfo.ana_channel_action_counter = stats.ana_channel_action_counter;
+ sinfo.ana_dtx_action_counter = stats.ana_dtx_action_counter;
+ sinfo.ana_fec_action_counter = stats.ana_fec_action_counter;
+ sinfo.ana_frame_length_action_counter =
+ stats.ana_frame_length_action_counter;
info->senders.push_back(sinfo);
}

Powered by Google App Engine
This is Rietveld 408576698