summaryrefslogtreecommitdiffstats
path: root/remoting/protocol
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-28 19:48:13 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-28 19:48:13 +0000
commit717c964116407ed4294d8c7b7e82919c08ff0c40 (patch)
treef6e5670ff6dd74c81edc8808d347d3edb269a0c5 /remoting/protocol
parent10d833c6cf83b5cf59f77654e8c14d32d101154f (diff)
downloadchromium_src-717c964116407ed4294d8c7b7e82919c08ff0c40.zip
chromium_src-717c964116407ed4294d8c7b7e82919c08ff0c40.tar.gz
chromium_src-717c964116407ed4294d8c7b7e82919c08ff0c40.tar.bz2
Restore client advertisement of VP9 support.
CandidateSessionConfig was changed from offering VP9 by default to requiring it to be explicitly enabled via EnableVideoCodec. This CL adds that explicit enabling in ConnectionToHost, effectvely restoring things to the way they were in M36. Review URL: https://codereview.chromium.org/296363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol')
-rw-r--r--remoting/protocol/connection_to_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
index 8bb9019..fdbd0f2 100644
--- a/remoting/protocol/connection_to_host.cc
+++ b/remoting/protocol/connection_to_host.cc
@@ -145,6 +145,7 @@ void ConnectionToHost::OnSessionManagerReady() {
if (!audio_stub_) {
candidate_config->DisableAudioChannel();
}
+ candidate_config->EnableVideoCodec(ChannelConfig::CODEC_VP9);
session_ = session_manager_->Connect(
host_jid_, authenticator_.Pass(), candidate_config.Pass());