Make ReceiveStatisticsImpl::SetMaxReorderingThreshold apply per ssrc
Bug: webrtc:10669 Change-Id: I9fec43fefe301b1e05eaea774a1453c93c4cc106 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138202 Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28069}
This commit is contained in:
@ -71,8 +71,14 @@ class ReceiveStatistics : public ReceiveStatisticsProvider,
|
||||
// Returns a pointer to the statistician of an ssrc.
|
||||
virtual StreamStatistician* GetStatistician(uint32_t ssrc) const = 0;
|
||||
|
||||
// Sets the max reordering threshold in number of packets.
|
||||
// TODO(bugs.webrtc.org/10669): Deprecated, delete as soon as downstream
|
||||
// projects are updated. This method sets the max reordering threshold of all
|
||||
// current and future streams.
|
||||
virtual void SetMaxReorderingThreshold(int max_reordering_threshold) = 0;
|
||||
|
||||
// Sets the max reordering threshold in number of packets.
|
||||
virtual void SetMaxReorderingThreshold(uint32_t ssrc,
|
||||
int max_reordering_threshold) = 0;
|
||||
// Detect retransmissions, enabling updates of the retransmitted counters. The
|
||||
// default is false.
|
||||
virtual void EnableRetransmitDetection(uint32_t ssrc, bool enable) = 0;
|
||||
|
||||
Reference in New Issue
Block a user