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

Unified Diff: remoting/host/plugin/host_script_object.cc

Issue 26921005: Add VP9 decode support to the remoting client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable VP9 correctly in hosts. Created 7 years, 2 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/plugin/host_script_object.cc
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index ddcb1cb651737be73572c893bc827a19f28e1e34..3459bf8b518b44b7152490a305ed5fc2b2024fcb 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -380,6 +380,11 @@ void HostNPScriptObject::It2MeImpl::FinishConnect() {
scoped_ptr<protocol::CandidateSessionConfig> protocol_config =
protocol::CandidateSessionConfig::CreateDefault();
protocol::CandidateSessionConfig::DisableAudioChannel(protocol_config.get());
+
+ // VP9 encode is not yet supported.
+ protocol::CandidateSessionConfig::DisableVideoCodec(
+ protocol_config.get(), protocol::ChannelConfig::CODEC_VP9);
+
host_->set_protocol_config(protocol_config.Pass());
// Create event logger.

Powered by Google App Engine
This is Rietveld 408576698