New VideoEngine API implementation on top of old one, first steps.
BUG=1668
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1360004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4044 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video_engine/new_include/video_engine.h b/video_engine/new_include/video_engine.h
index 40c1815..60a0a89 100644
--- a/video_engine/new_include/video_engine.h
+++ b/video_engine/new_include/video_engine.h
@@ -19,7 +19,6 @@
#include "webrtc/video_engine/new_include/video_receive_stream.h"
#include "webrtc/video_engine/new_include/video_send_stream.h"
-
namespace webrtc {
namespace newapi {
@@ -51,7 +50,7 @@
// estimates etc.
class VideoCall {
public:
- virtual void GetVideoCodecs(std::vector<VideoCodec>* codecs) = 0;
+ virtual std::vector<VideoCodec> GetVideoCodecs() = 0;
virtual void GetDefaultSendConfig(VideoSendStreamConfig* config) = 0;
@@ -82,7 +81,6 @@
// differ from the actual receive bitrate.
virtual uint32_t ReceiveBitrateEstimate() = 0;
- protected:
virtual ~VideoCall() {}
};
@@ -91,11 +89,9 @@
class VideoEngine {
public:
static VideoEngine* Create(const VideoEngineConfig& engine_config);
+ virtual ~VideoEngine() {}
virtual VideoCall* CreateCall(Transport* send_transport) = 0;
-
- protected:
- virtual ~VideoEngine() {}
};
} // namespace newapi