Index: webrtc/api/statscollector.cc |
diff --git a/webrtc/api/statscollector.cc b/webrtc/api/statscollector.cc |
index 417e7a04d68d18f0d4f38a343e6cea8f35e9831e..9c9b2f34cfd9ebf64c065e3f66d40df27d4a4d8d 100644 |
--- a/webrtc/api/statscollector.cc |
+++ b/webrtc/api/statscollector.cc |
@@ -247,6 +247,8 @@ void ExtractStats(const cricket::VideoSenderInfo& info, StatsReport* report) { |
(info.adapt_reason & 0x1) > 0); |
report->AddBoolean(StatsReport::kStatsValueNameViewLimitedResolution, |
(info.adapt_reason & 0x4) > 0); |
+ if (info.qp_sum) |
+ report->AddInt(StatsReport::kStatsValueNameQpSum, *info.qp_sum); |
const IntForAdd ints[] = { |
{ StatsReport::kStatsValueNameAdaptationChanges, info.adapt_changes }, |