Index: webrtc/video/receive_statistics_proxy.cc |
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc |
index 57d1f569cfd9168783cad153ec8a4df9aa7f2398..d9b74bd1993606476f0818f80e9cd5d7d2e4e5b5 100644 |
--- a/webrtc/video/receive_statistics_proxy.cc |
+++ b/webrtc/video/receive_statistics_proxy.cc |
@@ -258,6 +258,8 @@ void ReceiveStatisticsProxy::OnRenderedFrame(int width, int height) { |
rtc::CritScope lock(&crit_); |
renders_fps_estimator_.Update(1, now); |
stats_.render_frame_rate = renders_fps_estimator_.Rate(now).value_or(0); |
+ stats_.width = width; |
+ stats_.height = height; |
render_width_counter_.Add(width); |
render_height_counter_.Add(height); |
render_fps_tracker_.AddSamples(1); |