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

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

Issue 2421193003: Implement framesEncoded stat in video send ssrc stats. (Closed)
Patch Set: statscollector unittest Created 4 years, 2 months 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
Index: webrtc/media/base/mediachannel.h
diff --git a/webrtc/media/base/mediachannel.h b/webrtc/media/base/mediachannel.h
index b71a309233546f941150431bf5df4aca8f46b095..171fab494b8248a531c109771dc6d01e0cddb061 100644
--- a/webrtc/media/base/mediachannel.h
+++ b/webrtc/media/base/mediachannel.h
@@ -665,8 +665,8 @@ struct VideoSenderInfo : public MediaSenderInfo {
adapt_reason(0),
adapt_changes(0),
avg_encode_ms(0),
- encode_usage_percent(0) {
- }
+ encode_usage_percent(0),
+ frames_encoded(0) {}
std::vector<SsrcGroup> ssrc_groups;
std::string encoder_implementation_name;
@@ -684,6 +684,7 @@ struct VideoSenderInfo : public MediaSenderInfo {
int adapt_changes;
int avg_encode_ms;
int encode_usage_percent;
+ int frames_encoded;
hbos 2016/10/20 16:45:08 Fix in this or a follow-up: In the linked spec thi
sakal 2016/10/21 08:38:34 Done.
};
struct VideoReceiverInfo : public MediaReceiverInfo {

Powered by Google App Engine
This is Rietveld 408576698