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

Unified Diff: webrtc/api/mediastreaminterface.h

Issue 1766653002: Replace SetCapturer and SetCaptureDevice by SetSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased, no longer any proxy object changes. Created 4 years, 8 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
« no previous file with comments | « talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm ('k') | webrtc/api/mediastreamprovider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastreaminterface.h
diff --git a/webrtc/api/mediastreaminterface.h b/webrtc/api/mediastreaminterface.h
index 57c0776a322f56e6761e00d77a8b4c8735a38d4b..7f563250249257b0fa5375043f64766e84425439 100644
--- a/webrtc/api/mediastreaminterface.h
+++ b/webrtc/api/mediastreaminterface.h
@@ -31,7 +31,6 @@
namespace cricket {
class AudioRenderer;
-class VideoCapturer;
class VideoRenderer;
class VideoFrame;
@@ -113,14 +112,6 @@ class VideoTrackSourceInterface
int input_width;
int input_height;
};
- // Get access to the source implementation of cricket::VideoCapturer.
- // This can be used for receiving frames and state notifications.
- // But it should not be used for starting or stopping capturing.
- // TODO(perkj): We are currently trying to replace all internal use of
- // cricket::VideoCapturer with rtc::VideoSourceInterface. Once that
- // refactoring is done,
- // remove this method.
- virtual cricket::VideoCapturer* GetVideoCapturer() = 0;
virtual void Stop() = 0;
virtual void Restart() = 0;
« no previous file with comments | « talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm ('k') | webrtc/api/mediastreamprovider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698