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

Unified Diff: webrtc/video_send_stream.h

Issue 1226123005: Define Stream base classes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Code review follow-up 3 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
« no previous file with comments | « webrtc/video_receive_stream.h ('k') | webrtc/webrtc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_send_stream.h
diff --git a/webrtc/video_send_stream.h b/webrtc/video_send_stream.h
index 69df41c1d55b885697af4e50e24de8fbd60848d6..540f5be46232b82537ea6ed857f27c286dccf084 100644
--- a/webrtc/video_send_stream.h
+++ b/webrtc/video_send_stream.h
@@ -17,6 +17,7 @@
#include "webrtc/common_types.h"
#include "webrtc/config.h"
#include "webrtc/frame_callback.h"
+#include "webrtc/stream.h"
#include "webrtc/video_renderer.h"
namespace webrtc {
@@ -35,7 +36,7 @@ class VideoCaptureInput {
virtual ~VideoCaptureInput() {}
};
-class VideoSendStream {
+class VideoSendStream : public SendStream {
public:
struct StreamStats {
FrameCounts frame_counts;
@@ -140,18 +141,12 @@ class VideoSendStream {
// VideoSendStream is valid.
virtual VideoCaptureInput* Input() = 0;
- virtual void Start() = 0;
- virtual void Stop() = 0;
-
// Set which streams to send. Must have at least as many SSRCs as configured
// in the config. Encoder settings are passed on to the encoder instance along
// with the VideoStream settings.
virtual bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0;
virtual Stats GetStats() = 0;
-
- protected:
- virtual ~VideoSendStream() {}
};
} // namespace webrtc
« no previous file with comments | « webrtc/video_receive_stream.h ('k') | webrtc/webrtc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698