From 53cd346a96af6ba51544ef977374e1872f3a9217 Mon Sep 17 00:00:00 2001 From: Markus Handell Date: Tue, 19 Oct 2021 15:00:01 +0200 Subject: [PATCH] RemoteBitrateEstimator: remove unused method. Bug: None Change-Id: I0414984148f65432d1882f74c3fce33ca955df75 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/235700 Reviewed-by: Stefan Holmer Commit-Queue: Markus Handell Cr-Commit-Position: refs/heads/main@{#35240} --- .../include/remote_bitrate_estimator.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h b/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h index a46a6d47c8..dcc08f49cc 100644 --- a/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h +++ b/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h @@ -38,9 +38,6 @@ class RemoteBitrateObserver { virtual ~RemoteBitrateObserver() {} }; -// TODO(holmer): Remove when all implementations have been updated. -struct ReceiveBandwidthEstimatorStats {}; - class RemoteBitrateEstimator : public CallStatsObserver, public Module { public: ~RemoteBitrateEstimator() override {} @@ -63,9 +60,6 @@ class RemoteBitrateEstimator : public CallStatsObserver, public Module { virtual bool LatestEstimate(std::vector* ssrcs, uint32_t* bitrate_bps) const = 0; - // TODO(holmer): Remove when all implementations have been updated. - virtual bool GetStats(ReceiveBandwidthEstimatorStats* output) const; - virtual void SetMinBitrate(int min_bitrate_bps) = 0; protected: @@ -73,11 +67,6 @@ class RemoteBitrateEstimator : public CallStatsObserver, public Module { static const int64_t kStreamTimeOutMs = 2000; }; -inline bool RemoteBitrateEstimator::GetStats( - ReceiveBandwidthEstimatorStats* output) const { - return false; -} - } // namespace webrtc #endif // MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMATOR_H_