Index: webrtc/video/receive_statistics_proxy.cc |
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc |
index d42721ba2aafe29c628563d446e8509e02f2a7c8..abf297f56f962b3af150f673cc7d50ba3c9ebab2 100644 |
--- a/webrtc/video/receive_statistics_proxy.cc |
+++ b/webrtc/video/receive_statistics_proxy.cc |
@@ -108,6 +108,17 @@ void ReceiveStatisticsProxy::UpdateHistograms() { |
"WebRTC.Video.FecBitrateReceivedInKbps", |
static_cast<int>(rtp_rtx.fec.TotalBytes() * 8 / elapsed_sec / 1000)); |
} |
+ const RtcpPacketTypeCounter& counters = stats_.rtcp_packet_type_counts; |
+ RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.NackPacketsSentPerMinute", |
+ counters.nack_packets * 60 / elapsed_sec); |
+ RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.FirPacketsSentPerMinute", |
+ counters.fir_packets * 60 / elapsed_sec); |
+ RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.PliPacketsSentPerMinute", |
+ counters.pli_packets * 60 / elapsed_sec); |
+ if (counters.nack_requests > 0) { |
+ RTC_HISTOGRAM_PERCENTAGE("WebRTC.Video.UniqueNackRequestsSentInPercent", |
+ counters.UniqueNackRequestsInPercent()); |
+ } |
} |
} |