Index: webrtc/api/videosource.h |
diff --git a/webrtc/api/videosource.h b/webrtc/api/videosource.h |
index 634c47ae371268e3ccf04dea21c2ccb0b2d4145c..eb4646336db4c8fa94e8cb2a9e3c0c2f0398d196 100644 |
--- a/webrtc/api/videosource.h |
+++ b/webrtc/api/videosource.h |
@@ -47,6 +47,13 @@ class VideoSource : public Notifier<VideoSourceInterface>, |
const webrtc::MediaConstraintsInterface* constraints, |
bool remote); |
+ // Note that the non-constraints version does not have the ability to |
+ // select configuration based on width, height, aspect ratio or frame rate. |
+ static rtc::scoped_refptr<VideoSource> Create( |
+ rtc::Thread* worker_thread, |
+ cricket::VideoCapturer* capturer, |
+ bool remote); |
+ |
SourceState state() const override { return state_; } |
bool remote() const override { return remote_; } |