Index: webrtc/api/mediastreamprovider.h |
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h |
index ad7870c96a96a739eb8e0b3d487726352714b6bd..a5993948c63134a27b5b6ea46211c032941fc1d2 100644 |
--- a/webrtc/api/mediastreamprovider.h |
+++ b/webrtc/api/mediastreamprovider.h |
@@ -14,13 +14,12 @@ |
#include "webrtc/base/basictypes.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/media/base/videosinkinterface.h" |
+#include "webrtc/media/base/videosourceinterface.h" |
namespace cricket { |
class AudioRenderer; |
-class VideoCapturer; |
class VideoFrame; |
-class VideoRenderer; |
struct AudioOptions; |
struct VideoOptions; |
@@ -70,8 +69,9 @@ class AudioProviderInterface { |
// of a video track connected to a certain PeerConnection. |
class VideoProviderInterface { |
public: |
- virtual bool SetCaptureDevice(uint32_t ssrc, |
- cricket::VideoCapturer* camera) = 0; |
+ virtual bool SetSource( |
+ uint32_t ssrc, |
+ rtc::VideoSourceInterface<cricket::VideoFrame>* source) = 0; |
// Enable/disable the video playout of a remote video track with |ssrc|. |
virtual void SetVideoPlayout( |
uint32_t ssrc, |