Simplify ReceiveStatistics: merge GetActiveStatisticians into RtcpReportBlocks
BUG=webrtc:8016 Change-Id: Ie38a86b730298039915baaac12b7fd97a5440345 Reviewed-on: https://webrtc-review.googlesource.com/1842 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#19891}
This commit is contained in:
committed by
Commit Bot
parent
aa568a64ed
commit
c5267d251a
@ -55,8 +55,6 @@ class StreamStatistician {
|
||||
virtual bool IsPacketInOrder(uint16_t sequence_number) const = 0;
|
||||
};
|
||||
|
||||
typedef std::map<uint32_t, StreamStatistician*> StatisticianMap;
|
||||
|
||||
class ReceiveStatistics : public ReceiveStatisticsProvider {
|
||||
public:
|
||||
~ReceiveStatistics() override = default;
|
||||
@ -72,10 +70,6 @@ class ReceiveStatistics : public ReceiveStatisticsProvider {
|
||||
virtual void FecPacketReceived(const RTPHeader& header,
|
||||
size_t packet_length) = 0;
|
||||
|
||||
// Returns a map of all statisticians which have seen an incoming packet
|
||||
// during the last two seconds.
|
||||
virtual StatisticianMap GetActiveStatisticians() const = 0;
|
||||
|
||||
// Returns a pointer to the statistician of an ssrc.
|
||||
virtual StreamStatistician* GetStatistician(uint32_t ssrc) const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user