Adding two new stats to VoiceReceiverInfo
There have been requests of two new stats namely
speech_expand_rate and secondary_decoded_rate.
BUG=3867
R=henrik.lundin@webrtc.org, henrika@webrtc.org, tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/40789004
Cr-Commit-Position: refs/heads/master@{#8415}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8415 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h
index ce8aaac..19cb9a3 100644
--- a/talk/media/base/mediachannel.h
+++ b/talk/media/base/mediachannel.h
@@ -779,6 +779,8 @@
delay_estimate_ms(0),
audio_level(0),
expand_rate(0),
+ speech_expand_rate(0),
+ secondary_decoded_rate(0),
decoding_calls_to_silence_generator(0),
decoding_calls_to_neteq(0),
decoding_normal(0),
@@ -794,8 +796,12 @@
int jitter_buffer_preferred_ms;
int delay_estimate_ms;
int audio_level;
- // fraction of synthesized speech inserted through pre-emptive expansion
+ // fraction of synthesized audio inserted through expansion.
float expand_rate;
+ // fraction of synthesized speech inserted through expansion.
+ float speech_expand_rate;
+ // fraction of data out of secondary decoding, including FEC and RED.
+ float secondary_decoded_rate;
int decoding_calls_to_silence_generator;
int decoding_calls_to_neteq;
int decoding_normal;