summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/session_config.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 21:10:43 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 21:10:43 +0000
commita6ccb772bb875195a072cdb260d2b2ee24f43277 (patch)
treec70eb8fdab6307b5f2ca382c84a81c466fc68df3 /remoting/protocol/session_config.cc
parent34ebfd704de4599b9ecaf357e5c9fb1f4e19f665 (diff)
downloadchromium_src-a6ccb772bb875195a072cdb260d2b2ee24f43277.zip
chromium_src-a6ccb772bb875195a072cdb260d2b2ee24f43277.tar.gz
chromium_src-a6ccb772bb875195a072cdb260d2b2ee24f43277.tar.bz2
Add opus audio codec support in remoting
BUG=154714 Review URL: https://codereview.chromium.org/11189047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/session_config.cc')
-rw-r--r--remoting/protocol/session_config.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/protocol/session_config.cc b/remoting/protocol/session_config.cc
index 28ffc19..f825302 100644
--- a/remoting/protocol/session_config.cc
+++ b/remoting/protocol/session_config.cc
@@ -198,6 +198,10 @@ scoped_ptr<CandidateSessionConfig> CandidateSessionConfig::CreateDefault() {
result->mutable_audio_configs()->push_back(
ChannelConfig(ChannelConfig::TRANSPORT_MUX_STREAM,
kDefaultStreamVersion,
+ ChannelConfig::CODEC_OPUS));
+ result->mutable_audio_configs()->push_back(
+ ChannelConfig(ChannelConfig::TRANSPORT_MUX_STREAM,
+ kDefaultStreamVersion,
ChannelConfig::CODEC_SPEEX));
result->mutable_audio_configs()->push_back(
ChannelConfig(ChannelConfig::TRANSPORT_STREAM,