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

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

Issue 2421193003: Implement framesEncoded stat in video send ssrc stats. (Closed)
Patch Set: Unittests. 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..1d45ced61a57011ba354845cf9f9843c0b66c6f2 100644
--- a/webrtc/media/base/mediachannel.h
+++ b/webrtc/media/base/mediachannel.h
@@ -665,7 +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;
@@ -684,6 +685,7 @@ struct VideoSenderInfo : public MediaSenderInfo {
int adapt_changes;
int avg_encode_ms;
int encode_usage_percent;
+ int frames_encoded;
};
struct VideoReceiverInfo : public MediaReceiverInfo {

Powered by Google App Engine
This is Rietveld 408576698