diff options
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/chromoting_host.cc | 4 | ||||
-rw-r--r-- | remoting/host/plugin/host_script_object.cc | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index d7780f1..80cd8b5 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -86,6 +86,10 @@ ChromotingHost::ChromotingHost( DCHECK(network_task_runner_->BelongsToCurrentThread()); DCHECK(signal_strategy); + // VP9 encode is not yet supported. + protocol::CandidateSessionConfig::DisableVideoCodec( + protocol_config_.get(), protocol::ChannelConfig::CODEC_VP9); + if (!desktop_environment_factory_->SupportsAudioCapture()) { protocol::CandidateSessionConfig::DisableAudioChannel( protocol_config_.get()); diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc index ddcb1cb..3459bf8 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. |