Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h

Issue 1208083002: Remove MimdRateControl and factories for RemoteBitrateEstimor. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h
diff --git a/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h b/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h
index 6c09f2427a0e5de0c762abc797bd1b94295d757b..52060e220b89ae40094c7db1afd49f69f8b1b485 100644
--- a/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h
+++ b/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h
@@ -25,11 +25,6 @@ namespace webrtc {
class Clock;
-enum RateControlType {
- kMimdControl,
- kAimdControl
-};
-
// RemoteBitrateObserver is used to signal changes in bitrate estimates for
// the incoming streams.
class RemoteBitrateObserver {
@@ -125,28 +120,6 @@ class RemoteBitrateEstimator : public CallStatsObserver, public Module {
static const int64_t kStreamTimeOutMs = 2000;
};
-struct RemoteBitrateEstimatorFactory {
- RemoteBitrateEstimatorFactory() {}
- virtual ~RemoteBitrateEstimatorFactory() {}
-
- virtual RemoteBitrateEstimator* Create(
- RemoteBitrateObserver* observer,
- Clock* clock,
- RateControlType control_type,
- uint32_t min_bitrate_bps) const;
-};
-
-struct AbsoluteSendTimeRemoteBitrateEstimatorFactory
- : public RemoteBitrateEstimatorFactory {
- AbsoluteSendTimeRemoteBitrateEstimatorFactory() {}
- virtual ~AbsoluteSendTimeRemoteBitrateEstimatorFactory() {}
-
- virtual RemoteBitrateEstimator* Create(
- RemoteBitrateObserver* observer,
- Clock* clock,
- RateControlType control_type,
- uint32_t min_bitrate_bps) const;
-};
} // namespace webrtc
#endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMATOR_H_

Powered by Google App Engine
This is Rietveld 408576698