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

Unified Diff: webrtc/api/rtcstatscollector.cc

Issue 2606033002: RTCMediaStreamTrackStats.framesSent collected by RTCStatsCollector. (Closed)
Patch Set: Created 4 years 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 | « webrtc/api/rtcstats_integrationtest.cc ('k') | webrtc/api/rtcstatscollector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/rtcstatscollector.cc
diff --git a/webrtc/api/rtcstatscollector.cc b/webrtc/api/rtcstatscollector.cc
index 0747c8d2761ac560e0106a41cfeec33d00837069..48452b70f001867cb9aa0bf82b6195236dc230a0 100644
--- a/webrtc/api/rtcstatscollector.cc
+++ b/webrtc/api/rtcstatscollector.cc
@@ -452,6 +452,7 @@ void ProduceMediaStreamAndTrackStats(
sender_info->send_frame_height);
video_track_stats->frames_per_second = static_cast<double>(
sender_info->framerate_sent);
+ video_track_stats->frames_sent = sender_info->frames_encoded;
hbos 2016/12/29 15:34:59 This is the same as RTCOutboundRTPStreamStats.fram
hta-webrtc 2017/01/02 16:00:12 The reason why the stats have two variables is tha
hbos 2017/01/19 10:41:16 Done.
}
} else {
const cricket::VideoReceiverInfo* receiver_info =
« no previous file with comments | « webrtc/api/rtcstats_integrationtest.cc ('k') | webrtc/api/rtcstatscollector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698