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

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: Delete VideoCapturer::frame_stats_crit_ Created 4 years, 9 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 | « no previous file | webrtc/api/mediastreamprovider.h » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')
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 69a50c97a3311b0e3259be0ea638e932e33e47dc..abd22a0f5142beddfb0e59da9e0e80eaaafb42d2 100644
--- a/webrtc/api/mediastreaminterface.h
+++ b/webrtc/api/mediastreaminterface.h
@@ -30,7 +30,6 @@
namespace cricket {
class AudioRenderer;
-class VideoCapturer;
class VideoRenderer;
class VideoFrame;
@@ -127,15 +126,6 @@ class VideoTrackSourceInterface
: public MediaSourceInterface,
public rtc::VideoSourceInterface<cricket::VideoFrame> {
public:
- // 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 | « no previous file | webrtc/api/mediastreamprovider.h » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698