summaryrefslogtreecommitdiffstats
path: root/remoting/protocol
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 19:55:10 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 19:55:10 +0000
commit7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68 (patch)
tree77175349dccbb9fe5fb9b3bdecdb8b92e2c32605 /remoting/protocol
parent53869dbba36edf76eec07499a5bb7b00f70ac509 (diff)
downloadchromium_src-7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68.zip
chromium_src-7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68.tar.gz
chromium_src-7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68.tar.bz2
Add opus audio codec support in remoting
BUG=154714 Review URL: https://chromiumcodereview.appspot.com/11189047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol')
-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,