| Index: remoting/protocol/session_config.cc
|
| diff --git a/remoting/protocol/session_config.cc b/remoting/protocol/session_config.cc
|
| index 1f05a83182bf91b7ce86337307b5191a9ff28c4a..4b0a20c15531c557710404801ff8d61afdcf0c46 100644
|
| --- a/remoting/protocol/session_config.cc
|
| +++ b/remoting/protocol/session_config.cc
|
| @@ -11,6 +11,9 @@ namespace protocol {
|
|
|
| const int kDefaultStreamVersion = 2;
|
|
|
| +// The control channel version that supports the "capabilities" message.
|
| +const int kCapabilitiesControlStreamVersion = 3;
|
| +
|
| ChannelConfig ChannelConfig::None() {
|
| return ChannelConfig();
|
| }
|
| @@ -171,6 +174,10 @@ scoped_ptr<CandidateSessionConfig> CandidateSessionConfig::CreateDefault() {
|
| // Control channel.
|
| result->mutable_control_configs()->push_back(
|
| ChannelConfig(ChannelConfig::TRANSPORT_MUX_STREAM,
|
| + kCapabilitiesControlStreamVersion,
|
| + ChannelConfig::CODEC_UNDEFINED));
|
| + result->mutable_control_configs()->push_back(
|
| + ChannelConfig(ChannelConfig::TRANSPORT_MUX_STREAM,
|
| kDefaultStreamVersion,
|
| ChannelConfig::CODEC_UNDEFINED));
|
| result->mutable_control_configs()->push_back(
|
|
|