Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: talk/media/base/mediachannel.h

Issue 1264693003: Add QP stats for sent video streams to StatsReport. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add unit tests Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/statstypes.cc ('k') | talk/media/webrtc/webrtcvideoengine2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/mediachannel.h
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h
index fb828ef6c65ab965eaf120f038949666dc1d8b56..051d32f5e44fce4be8287d881eee40dd70e563dc 100644
--- a/talk/media/base/mediachannel.h
+++ b/talk/media/base/mediachannel.h
@@ -772,7 +772,8 @@ struct VideoSenderInfo : public MediaSenderInfo {
adapt_reason(0),
adapt_changes(0),
avg_encode_ms(0),
- encode_usage_percent(0) {
+ encode_usage_percent(0),
+ qp(-1) {
}
std::vector<SsrcGroup> ssrc_groups;
@@ -795,6 +796,7 @@ struct VideoSenderInfo : public MediaSenderInfo {
VariableInfo<int> adapt_frame_drops;
VariableInfo<int> effects_frame_drops;
VariableInfo<double> capturer_frame_time;
+ int qp; // Average codec quantizer value.
};
struct VideoReceiverInfo : public MediaReceiverInfo {
« no previous file with comments | « talk/app/webrtc/statstypes.cc ('k') | talk/media/webrtc/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698