Index: webrtc/video/send_statistics_proxy.h |
diff --git a/webrtc/video/send_statistics_proxy.h b/webrtc/video/send_statistics_proxy.h |
index 60d962f93b3a1cdf541868fab929001fdce7d801..3e6e6cda27bddac62688a1d8f7ac2dc6ade7b4de 100644 |
--- a/webrtc/video/send_statistics_proxy.h |
+++ b/webrtc/video/send_statistics_proxy.h |
@@ -107,6 +107,9 @@ class SendStatisticsProxy : public CpuOveruseMetricsObserver, |
int64_t resolution_update_ms; |
int64_t bitrate_update_ms; |
}; |
+ struct QpCounters { |
+ SampleCounter vp8; |
+ }; |
void PurgeOldStats() EXCLUSIVE_LOCKS_REQUIRED(crit_); |
VideoSendStream::StreamStats* GetStatsEntry(uint32_t ssrc) |
EXCLUSIVE_LOCKS_REQUIRED(crit_); |
@@ -129,6 +132,8 @@ class SendStatisticsProxy : public CpuOveruseMetricsObserver, |
SampleCounter sent_width_counter_ GUARDED_BY(crit_); |
SampleCounter sent_height_counter_ GUARDED_BY(crit_); |
SampleCounter encode_time_counter_ GUARDED_BY(crit_); |
+ // QP counters mapped by the SSRC. |
pbos-webrtc
2015/09/03 14:50:21
s/the SSRC/SSRC
åsapersson
2015/09/03 15:13:23
Done.
|
+ std::map<uint32_t, QpCounters> qp_counters_ GUARDED_BY(crit_); |
}; |
} // namespace webrtc |