Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: remoting/protocol/session_config.h

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_SESSION_CONFIG_H_ 5 #ifndef REMOTING_PROTOCOL_SESSION_CONFIG_H_
6 #define REMOTING_PROTOCOL_SESSION_CONFIG_H_ 6 #define REMOTING_PROTOCOL_SESSION_CONFIG_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 namespace protocol { 15 namespace protocol {
16 16
17 extern const int kDefaultStreamVersion; 17 extern const int kDefaultStreamVersion;
18 extern const int kControlStreamVersion;
Wez 2015/01/21 01:35:40 Why do we need a separat kControlStreamVersion..?
Sergey Ulanov 2015/01/29 01:33:29 IIRC it was updated a while ago when we added capa
19 extern const int kVideoWithAckStreamVersion;
18 20
19 // Struct for configuration parameters of a single channel. 21 // Struct for configuration parameters of a single channel.
20 // Some channels (like video) may have multiple underlying sockets that need 22 // Some channels (like video) may have multiple underlying sockets that need
21 // to be configured simultaneously. 23 // to be configured simultaneously.
22 struct ChannelConfig { 24 struct ChannelConfig {
23 enum TransportType { 25 enum TransportType {
24 TRANSPORT_STREAM, 26 TRANSPORT_STREAM,
25 TRANSPORT_MUX_STREAM, 27 TRANSPORT_MUX_STREAM,
26 TRANSPORT_DATAGRAM, 28 TRANSPORT_DATAGRAM,
27 TRANSPORT_NONE, 29 TRANSPORT_NONE,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 std::list<ChannelConfig> control_configs_; 177 std::list<ChannelConfig> control_configs_;
176 std::list<ChannelConfig> event_configs_; 178 std::list<ChannelConfig> event_configs_;
177 std::list<ChannelConfig> video_configs_; 179 std::list<ChannelConfig> video_configs_;
178 std::list<ChannelConfig> audio_configs_; 180 std::list<ChannelConfig> audio_configs_;
179 }; 181 };
180 182
181 } // namespace protocol 183 } // namespace protocol
182 } // namespace remoting 184 } // namespace remoting
183 185
184 #endif // REMOTING_PROTOCOL_SESSION_CONFIG_H_ 186 #endif // REMOTING_PROTOCOL_SESSION_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698