Index: webrtc/api/rtcstatscollector.cc |
diff --git a/webrtc/api/rtcstatscollector.cc b/webrtc/api/rtcstatscollector.cc |
index ec7cbe0bb3ecd646de5f69e7ab2ff8aa608dd7a6..fd756f7e0f6ae1e2602ee264caf0623e4d067bb6 100644 |
--- a/webrtc/api/rtcstatscollector.cc |
+++ b/webrtc/api/rtcstatscollector.cc |
@@ -150,6 +150,8 @@ void SetInboundRTPStreamStatsFromMediaReceiverInfo( |
static_cast<uint32_t>(media_receiver_info.packets_rcvd); |
inbound_stats->bytes_received = |
static_cast<uint64_t>(media_receiver_info.bytes_rcvd); |
+ inbound_stats->packets_lost = |
+ static_cast<uint32_t>(media_receiver_info.packets_lost); |
hbos
2016/12/08 15:16:30
This is the same value used by the old getStats fo
|
inbound_stats->fraction_lost = |
static_cast<double>(media_receiver_info.fraction_lost); |
} |