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. |