Add configuration for cpu overuse detection to video send stream.
BUG=2422
R=mflodman@webrtc.org, pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/7129004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5468 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video/video_send_stream.h b/video/video_send_stream.h
index 05c481f..2a84b8c 100644
--- a/video/video_send_stream.h
+++ b/video/video_send_stream.h
@@ -21,6 +21,7 @@
namespace webrtc {
+class CpuOveruseObserver;
class VideoEngine;
class ViEBase;
class ViECapture;
@@ -33,14 +34,12 @@
namespace internal {
-class ResolutionAdaptor;
-
class VideoSendStream : public webrtc::VideoSendStream,
public VideoSendStreamInput,
public SendStatisticsProxy::StreamStatsProvider {
public:
VideoSendStream(newapi::Transport* transport,
- bool overuse_detection,
+ CpuOveruseObserver* overuse_observer,
webrtc::VideoEngine* video_engine,
const VideoSendStream::Config& config,
int base_channel);
@@ -88,7 +87,6 @@
int channel_;
int capture_id_;
- scoped_ptr<ResolutionAdaptor> overuse_observer_;
scoped_ptr<SendStatisticsProxy> stats_proxy_;
};