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

Unified Diff: remoting/client/chromoting_client.cc

Issue 1559933003: Pass VideoRenderer interface to ConnectionToHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_frame_consumer
Patch Set: Created 4 years, 12 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/BUILD.gn » ('j') | remoting/protocol/ice_connection_to_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index ed4ce78154d1ee91449bebceac6f24488fb7ecfe..4412c4ee696a1a0dbc63cce5936ffc36725f2c40 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -19,7 +19,6 @@
#include "remoting/protocol/jingle_session_manager.h"
#include "remoting/protocol/session_config.h"
#include "remoting/protocol/transport_context.h"
-#include "remoting/protocol/video_renderer.h"
namespace remoting {
@@ -67,7 +66,7 @@ void ChromotingClient::Start(
connection_->set_client_stub(this);
connection_->set_clipboard_stub(this);
- connection_->set_video_stub(video_renderer_->GetVideoStub());
+ connection_->set_video_renderer(video_renderer_);
connection_->set_audio_stub(audio_decode_scheduler_.get());
session_manager_.reset(new protocol::JingleSessionManager(signal_strategy));
@@ -209,7 +208,6 @@ void ChromotingClient::OnAuthenticated() {
DCHECK(thread_checker_.CalledOnValidThread());
// Initialize the decoder.
- video_renderer_->OnSessionConfig(connection_->config());
if (connection_->config().is_audio_enabled())
audio_decode_scheduler_->Initialize(connection_->config());
}
« no previous file with comments | « no previous file | remoting/protocol/BUILD.gn » ('j') | remoting/protocol/ice_connection_to_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698