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

Unified Diff: webrtc/api/remotevideocapturer.h

Issue 1765423005: Change VideoRtpReceiver to create remote VideoTrack and VideoTrackSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed up the comments. 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 | « webrtc/api/peerconnection.cc ('k') | webrtc/api/remotevideocapturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/remotevideocapturer.h
diff --git a/webrtc/api/remotevideocapturer.h b/webrtc/api/remotevideocapturer.h
index a0fd4b7971978f315fac986696c35165ef532031..774cb5ac56a268e1b391a76569af503d8aa25a29 100644
--- a/webrtc/api/remotevideocapturer.h
+++ b/webrtc/api/remotevideocapturer.h
@@ -11,38 +11,6 @@
#ifndef WEBRTC_API_REMOTEVIDEOCAPTURER_H_
#define WEBRTC_API_REMOTEVIDEOCAPTURER_H_
-#include <vector>
-
-#include "webrtc/api/mediastreaminterface.h"
-#include "webrtc/media/base/videocapturer.h"
-#include "webrtc/media/base/videorenderer.h"
-
-namespace webrtc {
-
-// RemoteVideoCapturer implements a simple cricket::VideoCapturer which
-// gets decoded remote video frames from media channel.
-// It's used as the remote video source's VideoCapturer so that the remote video
-// can be used as a cricket::VideoCapturer and in that way a remote video stream
-// can implement the MediaStreamSourceInterface.
-class RemoteVideoCapturer : public cricket::VideoCapturer {
- public:
- RemoteVideoCapturer();
- virtual ~RemoteVideoCapturer();
-
- // cricket::VideoCapturer implementation.
- cricket::CaptureState Start(
- const cricket::VideoFormat& capture_format) override;
- void Stop() override;
- bool IsRunning() override;
- bool GetPreferredFourccs(std::vector<uint32_t>* fourccs) override;
- bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
- cricket::VideoFormat* best_format) override;
- bool IsScreencast() const override;
-
- private:
- RTC_DISALLOW_COPY_AND_ASSIGN(RemoteVideoCapturer);
-};
-
-} // namespace webrtc
+// TODO(perkj): Remove this file once Chrome gyp file doesn't depend on it.
#endif // WEBRTC_API_REMOTEVIDEOCAPTURER_H_
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/remotevideocapturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698