Chromium Code Reviews| Index: webrtc/api/rtcstatscollector.cc |
| diff --git a/webrtc/api/rtcstatscollector.cc b/webrtc/api/rtcstatscollector.cc |
| index cf97057c1b6884595618b3083beeacad5727f93d..24057389188b8a84ed75fb5fe56ad30e15f11016 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) |
|
hta-webrtc
2017/01/02 14:29:12
This means that we have two cases to test: qp_sum
|
| + outbound_video->qp_sum = *video_sender_info.qp_sum; |
| + outbound_video->frames_encoded = video_sender_info.frames_encoded; |
| } |
| void ProduceCertificateStatsFromSSLCertificateStats( |