Hooking up first simple CPU adaptation version.
BUG=
R=pbos@webrtc.org, stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1767004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4384 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video_engine/internal/video_send_stream.h b/video_engine/internal/video_send_stream.h
index f5f0516..571f428 100644
--- a/video_engine/internal/video_send_stream.h
+++ b/video_engine/internal/video_send_stream.h
@@ -28,11 +28,15 @@
class ViERTP_RTCP;
namespace internal {
+
+class ResolutionAdaptor;
+
class VideoSendStream : public newapi::VideoSendStream,
public newapi::VideoSendStreamInput,
public webrtc::Transport {
public:
VideoSendStream(newapi::Transport* transport,
+ bool overuse_detection,
webrtc::VideoEngine* video_engine,
const newapi::VideoSendStream::Config& config);
@@ -72,6 +76,7 @@
int channel_;
int capture_id_;
+ scoped_ptr<ResolutionAdaptor> overuse_observer_;
};
} // namespace internal
} // namespace webrtc