Index: talk/media/base/mediachannel.h |
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h |
index 3b27b92dd96d613764f44386e4b9d3dcd07e6297..99e247416be91e7a9bfacd1d9032a87a1c90d2d7 100644 |
--- a/talk/media/base/mediachannel.h |
+++ b/talk/media/base/mediachannel.h |
@@ -42,6 +42,7 @@ |
#include "webrtc/base/sigslot.h" |
#include "webrtc/base/socket.h" |
#include "webrtc/base/window.h" |
+#include "webrtc/media/base/videosinkinterface.h" |
// TODO(juberti): re-evaluate this include |
#include "talk/session/media/audiomonitor.h" |
@@ -60,6 +61,7 @@ namespace cricket { |
class AudioRenderer; |
class ScreencastId; |
class VideoCapturer; |
+class VideoFrame; |
class VideoRenderer; |
struct RtpHeader; |
struct VideoFormat; |
@@ -998,6 +1000,9 @@ class VideoMediaChannel : public MediaChannel { |
virtual bool SetVideoSend(uint32_t ssrc, |
bool enable, |
const VideoOptions* options) = 0; |
+ // Get the VideoSink for passing frames into a video sendstream |
+ virtual rtc::VideoSinkInterface<cricket::VideoFrame>* GetSink( |
+ uint32_t ssrc) = 0; |
// Sets the renderer object to be used for the specified stream. |
// If SSRC is 0, the renderer is used for the 'default' stream. |
virtual bool SetRenderer(uint32_t ssrc, VideoRenderer* renderer) = 0; |