Index: webrtc/video/receive_statistics_proxy.cc |
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc |
index cf65a75b4a52661406cd3161e712f922a4abc2c1..38e91d7a8ef2a09bcc476add136152aae4475cba 100644 |
--- a/webrtc/video/receive_statistics_proxy.cc |
+++ b/webrtc/video/receive_statistics_proxy.cc |
@@ -573,6 +573,7 @@ void ReceiveStatisticsProxy::OnDecodedFrame(rtc::Optional<uint8_t> qp, |
if (last_decoded_frame_time_ms_) { |
int64_t interframe_delay_ms = now - *last_decoded_frame_time_ms_; |
RTC_DCHECK_GE(interframe_delay_ms, 0); |
+ stats_.interframe_delay_sum_ms += interframe_delay_ms; |
if (last_content_type_ == VideoContentType::SCREENSHARE) { |
interframe_delay_counter_screenshare_.Add(interframe_delay_ms); |
if (interframe_delay_max_ms_screenshare_ < interframe_delay_ms) { |