Index: talk/app/webrtc/mediastreamprovider.h |
diff --git a/talk/app/webrtc/mediastreamprovider.h b/talk/app/webrtc/mediastreamprovider.h |
index 585d51bcc8178c1ba245a40f6121cbe1971d5671..0e92fc1244e5f54a4d6346978b0bcdd98c6c9a88 100644 |
--- a/talk/app/webrtc/mediastreamprovider.h |
+++ b/talk/app/webrtc/mediastreamprovider.h |
@@ -30,11 +30,13 @@ |
#include "webrtc/base/basictypes.h" |
#include "webrtc/base/scoped_ptr.h" |
+#include "webrtc/media/base/videosinkinterface.h" |
namespace cricket { |
class AudioRenderer; |
class VideoCapturer; |
+class VideoFrame; |
class VideoRenderer; |
struct AudioOptions; |
struct VideoOptions; |
@@ -95,6 +97,12 @@ class VideoProviderInterface { |
virtual void SetVideoSend(uint32_t ssrc, |
bool enable, |
const cricket::VideoOptions* options) = 0; |
+ // Return the sink which we should pass video frames to. |
+ // TODO(nisse): This doesn't really belong here, it's needed to let |
+ // VideoRtpSender hook up the WebRtcVideoSendStream object as a sink |
+ // for the corresponding VideoTrack. |
+ virtual rtc::VideoSinkInterface<cricket::VideoFrame>* GetSink( |
+ uint32_t ssrc) = 0; |
protected: |
virtual ~VideoProviderInterface() {} |