Index: talk/app/webrtc/videosource.h |
diff --git a/talk/app/webrtc/videosource.h b/talk/app/webrtc/videosource.h |
index 8253cbac18b66d43f554fe9dc1b242419c66aa7b..98c1e083a3e4cfed262c4616497316f80686105e 100644 |
--- a/talk/app/webrtc/videosource.h |
+++ b/talk/app/webrtc/videosource.h |
@@ -66,9 +66,12 @@ class VideoSource : public Notifier<VideoSourceInterface>, |
static rtc::scoped_refptr<VideoSource> Create( |
cricket::ChannelManager* channel_manager, |
cricket::VideoCapturer* capturer, |
- const webrtc::MediaConstraintsInterface* constraints); |
+ const webrtc::MediaConstraintsInterface* constraints, |
+ bool remote); |
+ |
+ SourceState state() const override { return state_; } |
+ bool remote() const override { return remote_; } |
- virtual SourceState state() const { return state_; } |
virtual const cricket::VideoOptions* options() const { return &options_; } |
virtual cricket::VideoRenderer* FrameInput(); |
@@ -86,7 +89,8 @@ class VideoSource : public Notifier<VideoSourceInterface>, |
protected: |
VideoSource(cricket::ChannelManager* channel_manager, |
- cricket::VideoCapturer* capturer); |
+ cricket::VideoCapturer* capturer, |
+ bool remote); |
virtual ~VideoSource(); |
void Initialize(const webrtc::MediaConstraintsInterface* constraints); |
@@ -104,6 +108,7 @@ class VideoSource : public Notifier<VideoSourceInterface>, |
cricket::VideoFormat format_; |
cricket::VideoOptions options_; |
SourceState state_; |
+ const bool remote_; |
}; |
} // namespace webrtc |