diff options
Diffstat (limited to 'video/report_block_stats.h')
-rw-r--r-- | video/report_block_stats.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/video/report_block_stats.h b/video/report_block_stats.h index de4a079032..1d1140295c 100644 --- a/video/report_block_stats.h +++ b/video/report_block_stats.h @@ -15,8 +15,6 @@ #include <map> -#include "modules/rtp_rtcp/include/rtcp_statistics.h" - namespace webrtc { // TODO(nisse): Usefulness of this class is somewhat unclear. The inputs are @@ -32,7 +30,9 @@ class ReportBlockStats { ~ReportBlockStats(); // Updates stats and stores report block. - void Store(uint32_t ssrc, const RtcpStatistics& rtcp_stats); + void Store(uint32_t ssrc, + int packets_lost, + uint32_t extended_highest_sequence_number); // Returns the total fraction of lost packets (or -1 if less than two report // blocks have been stored). @@ -45,10 +45,6 @@ class ReportBlockStats { int32_t packets_lost; }; - // Updates the total number of packets/lost packets. - // Stores the report. - void StoreAndAddPacketIncrement(uint32_t ssrc, const Report& report); - // The total number of packets/lost packets. uint32_t num_sequence_numbers_; uint32_t num_lost_sequence_numbers_; |