| Index: remoting/protocol/session_config.cc
|
| diff --git a/remoting/protocol/session_config.cc b/remoting/protocol/session_config.cc
|
| index cf6657ddd5bb8e44610c8f1f48ff3eb93f0b6804..139d05b5af379946966e98ef9a436e70783e2252 100644
|
| --- a/remoting/protocol/session_config.cc
|
| +++ b/remoting/protocol/session_config.cc
|
| @@ -175,18 +175,16 @@ scoped_ptr<CandidateSessionConfig> CandidateSessionConfig::CreateDefault() {
|
| ChannelConfig(ChannelConfig::TRANSPORT_STREAM,
|
| kDefaultStreamVersion,
|
| ChannelConfig::CODEC_VP8));
|
| - result->mutable_audio_configs()->push_back(
|
| - ChannelConfig(ChannelConfig::TRANSPORT_NONE,
|
| - kDefaultStreamVersion,
|
| - ChannelConfig::CODEC_VERBATIM));
|
| +#if defined(ENABLE_REMOTING_AUDIO)
|
| result->mutable_audio_configs()->push_back(
|
| ChannelConfig(ChannelConfig::TRANSPORT_STREAM,
|
| kDefaultStreamVersion,
|
| ChannelConfig::CODEC_VERBATIM));
|
| +#endif // defined(ENABLE_REMOTING_AUDIO)
|
| result->mutable_audio_configs()->push_back(
|
| - ChannelConfig(ChannelConfig::TRANSPORT_STREAM,
|
| + ChannelConfig(ChannelConfig::TRANSPORT_NONE,
|
| kDefaultStreamVersion,
|
| - ChannelConfig::CODEC_VORBIS));
|
| + ChannelConfig::CODEC_VERBATIM));
|
| return result.Pass();
|
| }
|
|
|
|
|