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

Unified Diff: webrtc/api/rtcstatscollector.cc

Issue 2642713004: RTCMediaStreamTrackStats.framesDecoded collected. (Closed)
Patch Set: Rebase with master Created 3 years, 11 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
« 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 27afcc14ecac8ec6dd599356765038a53e3787ad..e7929cb15ab6a23a15748b90c34781be75f29075 100644
--- a/webrtc/api/rtcstatscollector.cc
+++ b/webrtc/api/rtcstatscollector.cc
@@ -440,6 +440,11 @@ ProduceMediaStreamTrackStatsFromVideoReceiverInfo(
video_receiver_info.frame_height);
}
video_track_stats->frames_received = video_receiver_info.frames_received;
+ // TODO(hbos): When we support receiving simulcast, this should be the total
+ // number of frames correctly decoded, independent of which SSRC it was
+ // received from. Since we don't support that, this is correct and is the same
+ // value as "RTCInboundRTPStreamStats.framesDecoded". crbug.com/659137
+ video_track_stats->frames_decoded = video_receiver_info.frames_decoded;
return video_track_stats;
}
« 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