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

Unified Diff: remoting/protocol/webrtc_dummy_video_capturer.h

Issue 2079253003: Move frame scheduling logic from WebrtcFrameScheduler to WebrtcVideoStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | remoting/protocol/webrtc_dummy_video_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_dummy_video_capturer.h
diff --git a/remoting/protocol/webrtc_dummy_video_capturer.h b/remoting/protocol/webrtc_dummy_video_capturer.h
index 89ee6c46e717472be1395ca4a6d1bd8cbfd2d144..7ccac51acb46c9f984a9a41aab079f9bc4b58e57 100644
--- a/remoting/protocol/webrtc_dummy_video_capturer.h
+++ b/remoting/protocol/webrtc_dummy_video_capturer.h
@@ -9,23 +9,22 @@
#include <vector>
#include "base/macros.h"
-#include "remoting/protocol/webrtc_frame_scheduler.h"
#include "third_party/webrtc/media/base/videocapturer.h"
namespace remoting {
namespace protocol {
// A dummy video capturer needed to create peer connection. We do not supply
-// captured frames throught this interface, but instead provide encoded
+// captured frames through this interface, but instead provide encoded
// frames to Webrtc. We expect this requirement to go away once we have
// proper support for providing encoded frames to Webrtc through
// VideoSourceInterface
class WebrtcDummyVideoCapturer : public cricket::VideoCapturer {
public:
- explicit WebrtcDummyVideoCapturer(
- std::unique_ptr<WebrtcFrameScheduler> frame_scheduler);
+ explicit WebrtcDummyVideoCapturer();
~WebrtcDummyVideoCapturer() override;
+ // cricket::VideoCapturer interface.
cricket::CaptureState Start(
const cricket::VideoFormat& capture_format) override;
void Stop() override;
@@ -34,8 +33,6 @@ class WebrtcDummyVideoCapturer : public cricket::VideoCapturer {
bool GetPreferredFourccs(std::vector<uint32_t>* fourccs) override;
private:
- std::unique_ptr<WebrtcFrameScheduler> frame_scheduler_;
-
DISALLOW_COPY_AND_ASSIGN(WebrtcDummyVideoCapturer);
};
« no previous file with comments | « no previous file | remoting/protocol/webrtc_dummy_video_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698