Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1173)

Unified Diff: webrtc/api/videosource.h

Issue 1717583002: Non-constraint interfaces for all constrainable interfaces (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix an ambiguous function Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/videosource.h
diff --git a/webrtc/api/videosource.h b/webrtc/api/videosource.h
index e3ca0180d51e06a57e30ed21e73dead2c8263503..b06850d533322dce0f5007943048d8b5256ddfad 100644
--- a/webrtc/api/videosource.h
+++ b/webrtc/api/videosource.h
@@ -53,6 +53,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(
perkj_webrtc 2016/02/23 11:40:18 Remove this method? Just use the above with constr
hta-webrtc 2016/02/23 14:30:34 Part of the video path - see previous comment abou
+ cricket::ChannelManager* channel_manager,
+ cricket::VideoCapturer* capturer,
+ bool remote);
+
SourceState state() const override { return state_; }
bool remote() const override { return remote_; }

Powered by Google App Engine
This is Rietveld 408576698