// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_PROTOCOL_SESSION_CONFIG_H_ #define REMOTING_PROTOCOL_SESSION_CONFIG_H_ #include <list> #include <memory> #include <string> namespace remoting::protocol { extern const int kDefaultStreamVersion; // Struct for configuration parameters of a single channel. // Some channels (like video) may have multiple underlying sockets that need // to be configured simultaneously. struct ChannelConfig { … }; class CandidateSessionConfig; // SessionConfig is used to represent negotiated session configuration. Note // that it's useful mainly for the legacy protocol. When using the new // WebRTC-based protocol the using_webrtc() flag is set to true and all other // fields should be ignored. class SessionConfig { … }; // Defines session description that is sent from client to the host in the // session-initiate message. It is different from the regular Config // because it allows one to specify multiple configurations for each channel. class CandidateSessionConfig { … }; } // namespace remoting::protocol #endif // REMOTING_PROTOCOL_SESSION_CONFIG_H_