Add new decoding statistics for muted output
This change adds a new statistic for logging how many calls to
NetEq::GetAudio resulted in a "muted output". A muted output happens
if the packet stream has been dead for some time (and the last decoded
packet was not comfort noise).
BUG=webrtc:5606
BUG=b/31256483
Review-Url: https://codereview.webrtc.org/2341293002
Cr-Commit-Position: refs/heads/master@{#14302}
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index 6d30719..b8c0df4 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -385,7 +385,8 @@
decoded_normal(0),
decoded_plc(0),
decoded_cng(0),
- decoded_plc_cng(0) {}
+ decoded_plc_cng(0),
+ decoded_muted_output(0) {}
int calls_to_silence_generator; // Number of calls where silence generated,
// and NetEq was disengaged from decoding.
@@ -394,6 +395,7 @@
int decoded_plc; // Number of calls resulted in PLC.
int decoded_cng; // Number of calls where comfort noise generated due to DTX.
int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG.
+ int decoded_muted_output; // Number of calls returning a muted state output.
};
// Type of Noise Suppression.