Index: webrtc/api/rtcstatscollector.cc |
diff --git a/webrtc/api/rtcstatscollector.cc b/webrtc/api/rtcstatscollector.cc |
index 216a5ac29916869530c9674659fbd135678fc0e4..12e81d95e6ecae83bec0e2c78e9d8eb5e4da80f7 100644 |
--- a/webrtc/api/rtcstatscollector.cc |
+++ b/webrtc/api/rtcstatscollector.cc |
@@ -436,6 +436,11 @@ ProduceMediaStreamTrackStatsFromVideoReceiverInfo( |
video_track_stats->frame_height = static_cast<uint32_t>( |
video_receiver_info.frame_height); |
} |
+ // 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; |
} |