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

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
« no previous file with comments | « remoting/host/ipc_desktop_environment_unittest.cc ('k') | remoting/host/it2me_desktop_environment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_host.cc
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index 3fc19d0abb5eb76494e71d1a39e8955a453d55ff..f3a32a2d104578991fdbc4d9a9c4bc09722de6d3 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -77,8 +77,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(
@@ -255,13 +255,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,
« no previous file with comments | « remoting/host/ipc_desktop_environment_unittest.cc ('k') | remoting/host/it2me_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698