Index: webrtc/api/rtcstatscollector.cc |
diff --git a/webrtc/api/rtcstatscollector.cc b/webrtc/api/rtcstatscollector.cc |
index 85113e69a2e925271ad1c1150a3e02ff62ed9880..32d61e451478ecb75d1caa30dea190361b013e0c 100644 |
--- a/webrtc/api/rtcstatscollector.cc |
+++ b/webrtc/api/rtcstatscollector.cc |
@@ -181,6 +181,7 @@ void SetInboundRTPStreamStatsFromVideoReceiverInfo( |
static_cast<uint32_t>(video_receiver_info.plis_sent); |
inbound_video->nack_count = |
static_cast<uint32_t>(video_receiver_info.nacks_sent); |
+ inbound_video->frames_decoded = video_receiver_info.frames_decoded; |
} |
// Provides the media independent counters (both audio and video). |
@@ -225,6 +226,9 @@ void SetOutboundRTPStreamStatsFromVideoSenderInfo( |
static_cast<uint32_t>(video_sender_info.plis_rcvd); |
outbound_video->nack_count = |
static_cast<uint32_t>(video_sender_info.nacks_rcvd); |
+ if (video_sender_info.qp_sum) |
+ outbound_video->qp_sum = *video_sender_info.qp_sum; |
+ outbound_video->frames_encoded = video_sender_info.frames_encoded; |
} |
void ProduceCertificateStatsFromSSLCertificateStats( |