Index: webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc b/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
index 4ec11b63452745cf1f8d772b0971575dc97e767b..0a6c2f9a948c4a854e28314b3e6476ee6a0df2fa 100644 |
--- a/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
@@ -14,6 +14,7 @@ |
#include <cstdlib> |
+#include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
#include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" |
#include "webrtc/modules/rtp_rtcp/source/time_util.h" |
@@ -276,6 +277,12 @@ RtcpStatistics StreamStatisticianImpl::CalculateRtcpStatistics() { |
receive_counters_.retransmitted.packets; |
last_report_old_packets_ = receive_counters_.retransmitted.packets; |
last_report_seq_max_ = received_seq_max_; |
+ BWE_TEST_LOGGING_PLOT_WITH_SSRC(1, "cumulative_loss[pkts]", |
+ clock_->TimeInMilliseconds(), |
+ cumulative_loss_, ssrc_); |
+ BWE_TEST_LOGGING_PLOT_WITH_SSRC( |
+ 1, "received_seq_max[pkts]", clock_->TimeInMilliseconds(), |
+ (received_seq_max_ - received_seq_first_), ssrc_); |
return stats; |
} |