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

Unified Diff: remoting/protocol/webrtc_dummy_video_capturer.cc

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 | « remoting/protocol/webrtc_dummy_video_capturer.h ('k') | remoting/protocol/webrtc_frame_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_dummy_video_capturer.cc
diff --git a/remoting/protocol/webrtc_dummy_video_capturer.cc b/remoting/protocol/webrtc_dummy_video_capturer.cc
index ea7b9f75ff9c89d7460b5b78ac6c2c143d0ae7ce..c1d910472512839841da00e4015c4f03db6501e0 100644
--- a/remoting/protocol/webrtc_dummy_video_capturer.cc
+++ b/remoting/protocol/webrtc_dummy_video_capturer.cc
@@ -4,25 +4,18 @@
#include "remoting/protocol/webrtc_dummy_video_capturer.h"
-#include <vector>
-
namespace remoting {
namespace protocol {
-WebrtcDummyVideoCapturer::WebrtcDummyVideoCapturer(
- std::unique_ptr<WebrtcFrameScheduler> frame_scheduler)
- : frame_scheduler_(std::move(frame_scheduler)) {}
-
+WebrtcDummyVideoCapturer::WebrtcDummyVideoCapturer() {}
WebrtcDummyVideoCapturer::~WebrtcDummyVideoCapturer() {}
cricket::CaptureState WebrtcDummyVideoCapturer::Start(
const cricket::VideoFormat& capture_format) {
- frame_scheduler_->Start();
return cricket::CS_RUNNING;
}
void WebrtcDummyVideoCapturer::Stop() {
- frame_scheduler_->Stop();
SetCaptureState(cricket::CS_STOPPED);
}
« no previous file with comments | « remoting/protocol/webrtc_dummy_video_capturer.h ('k') | remoting/protocol/webrtc_frame_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698