RemoteBitrateEstimator: remove unused method.

Bug: None
Change-Id: I0414984148f65432d1882f74c3fce33ca955df75
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/235700
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35240}
This commit is contained in:
Markus Handell
2021-10-19 15:00:01 +02:00
committed by WebRTC LUCI CQ
parent 89b750f6d4
commit 53cd346a96

View File

@ -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<uint32_t>* 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_