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

Unified Diff: remoting/host/it2me/it2me_host.cc

Issue 1673723002: Use IpcVideoFrameCapturer on network thread instead of capturer thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: remoting/host/it2me/it2me_host.cc
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index 99f317713f54e45f9839916f3be60ad08accafd9..0a0ddf1e2e77c916073068b7154040ade3e058bc 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -76,8 +76,8 @@ void It2MeHost::Connect() {
desktop_environment_factory_.reset(new It2MeDesktopEnvironmentFactory(
host_context_->network_task_runner(),
- host_context_->input_task_runner(),
- host_context_->ui_task_runner()));
+ host_context_->video_capture_task_runner(),
+ host_context_->input_task_runner(), host_context_->ui_task_runner()));
// Start monitoring configured policies.
policy_watcher_->StartWatching(
@@ -253,13 +253,10 @@ void It2MeHost::FinishConnect() {
session_manager->set_protocol_config(std::move(protocol_config));
// Create the host.
- host_.reset(new ChromotingHost(
- desktop_environment_factory_.get(), std::move(session_manager),
- transport_context, host_context_->audio_task_runner(),
- host_context_->input_task_runner(),
- host_context_->video_capture_task_runner(),
- host_context_->video_encode_task_runner(),
- host_context_->network_task_runner(), host_context_->ui_task_runner()));
+ host_.reset(new ChromotingHost(desktop_environment_factory_.get(),
+ std::move(session_manager), transport_context,
+ host_context_->audio_task_runner(),
+ host_context_->video_encode_task_runner()));
host_->AddStatusObserver(this);
host_status_logger_.reset(
new HostStatusLogger(host_->AsWeakPtr(), ServerLogEntry::IT2ME,

Powered by Google App Engine
This is Rietveld 408576698