Delete RtcpStatisticsCallback in favor of ReportBlockDataObserver

Bug: webrtc:10678
Change-Id: Ie016cbc47dbba15176fc5e7ad7d01a438db7dfb3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/218842
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34013}
This commit is contained in:
Danil Chapovalov
2021-05-14 15:39:23 +02:00
committed by WebRTC LUCI CQ
parent f217334d99
commit f01c2c96f2
12 changed files with 62 additions and 117 deletions

View File

@ -18,6 +18,8 @@
namespace webrtc {
// Statistics for an RTCP channel
// TODO(bugs.webrtc.org/10678): Remove remaining usages of this struct in favor
// of RTCPReportBlock, rtcp::ReportBlock or other similar structs.
struct RtcpStatistics {
uint8_t fraction_lost = 0;
int32_t packets_lost = 0; // Defined as a 24 bit signed integer in RTCP
@ -25,14 +27,6 @@ struct RtcpStatistics {
uint32_t jitter = 0;
};
class RtcpStatisticsCallback {
public:
virtual ~RtcpStatisticsCallback() {}
virtual void StatisticsUpdated(const RtcpStatistics& statistics,
uint32_t ssrc) = 0;
};
// Statistics for RTCP packet types.
struct RtcpPacketTypeCounter {
RtcpPacketTypeCounter()