Refactor NACK bitrate allocation
Nack bitrate allocation should not be done on a per-rtp-module basis, but rather shared bitrate pool per call. This CL moves allocation to the pacer and cleans up a bunch if bitrate stats handling. BUG= R=danilchap@webrtc.org, stefan@webrtc.org, tommi@webrtc.org Review URL: https://codereview.webrtc.org/2061423003 . Cr-Commit-Position: refs/heads/master@{#13416}
This commit is contained in:
@ -46,7 +46,7 @@ class StreamStatistician {
|
||||
|
||||
typedef std::map<uint32_t, StreamStatistician*> StatisticianMap;
|
||||
|
||||
class ReceiveStatistics : public Module {
|
||||
class ReceiveStatistics {
|
||||
public:
|
||||
virtual ~ReceiveStatistics() {}
|
||||
|
||||
@ -89,8 +89,6 @@ class NullReceiveStatistics : public ReceiveStatistics {
|
||||
size_t packet_length) override;
|
||||
StatisticianMap GetActiveStatisticians() const override;
|
||||
StreamStatistician* GetStatistician(uint32_t ssrc) const override;
|
||||
int64_t TimeUntilNextProcess() override;
|
||||
void Process() override;
|
||||
void SetMaxReorderingThreshold(int max_reordering_threshold) override;
|
||||
void RegisterRtcpStatisticsCallback(
|
||||
RtcpStatisticsCallback* callback) override;
|
||||
|
||||
Reference in New Issue
Block a user