Adding a factory to remote bitrate estimator and allow it to be set via config.
Additionally:
- clean api to set remote bitrate estimator mode.
- clean api to set over use detector options.
R=mflodman@webrtc.org, stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1448006
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4027 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video_engine/vie_channel_manager.h b/video_engine/vie_channel_manager.h
index a093b85..1993213 100644
--- a/video_engine/vie_channel_manager.h
+++ b/video_engine/vie_channel_manager.h
@@ -14,14 +14,14 @@
#include <list>
#include <map>
-#include "engine_configurations.h" // NOLINT
-#include "system_wrappers/interface/scoped_ptr.h"
-#include "typedefs.h" // NOLINT
-#include "video_engine/include/vie_rtp_rtcp.h"
-#include "video_engine/vie_channel_group.h"
-#include "video_engine/vie_defines.h"
-#include "video_engine/vie_manager_base.h"
-#include "video_engine/vie_remb.h"
+#include "webrtc/engine_configurations.h"
+#include "webrtc/system_wrappers/interface/scoped_ptr.h"
+#include "webrtc/typedefs.h"
+#include "webrtc/video_engine/include/vie_rtp_rtcp.h"
+#include "webrtc/video_engine/vie_channel_group.h"
+#include "webrtc/video_engine/vie_defines.h"
+#include "webrtc/video_engine/vie_manager_base.h"
+#include "webrtc/video_engine/vie_remb.h"
namespace webrtc {
@@ -45,7 +45,6 @@
public:
ViEChannelManager(int engine_id,
int number_of_cores,
- const OverUseDetectorOptions& options,
const Config& config);
~ViEChannelManager();
@@ -76,10 +75,6 @@
// Adds a channel to include when sending REMB.
bool SetRembStatus(int channel_id, bool sender, bool receiver);
- // Sets the bandwidth estimation mode. This can only be changed before
- // adding a channel.
- bool SetBandwidthEstimationMode(BandwidthEstimationMode mode);
-
// Updates the SSRCs for a channel. If one of the SSRCs already is registered,
// it will simply be ignored and no error is returned.
void UpdateSsrcs(int channel_id, const std::list<unsigned int>& ssrcs);
@@ -137,8 +132,6 @@
VoiceEngine* voice_engine_;
ProcessThread* module_process_thread_;
- const OverUseDetectorOptions& over_use_detector_options_;
- RemoteBitrateEstimator::EstimationMode bwe_mode_;
const Config& config_;
};