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

Side by Side Diff: webrtc/p2p/base/transport.h

Issue 1455033004: Ping backup connection at a slower rate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 1 month 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 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Information about the stats of a transport. 134 // Information about the stats of a transport.
135 struct TransportStats { 135 struct TransportStats {
136 std::string transport_name; 136 std::string transport_name;
137 TransportChannelStatsList channel_stats; 137 TransportChannelStatsList channel_stats;
138 }; 138 };
139 139
140 // Information about ICE configuration. 140 // Information about ICE configuration.
141 struct IceConfig { 141 struct IceConfig {
142 // The ICE connection receiving timeout value. 142 // The ICE connection receiving timeout value.
143 int receiving_timeout_ms = -1; 143 int receiving_timeout_ms = -1;
144 // Time interval in milliseconds to ping a backup connection when the ICE
145 // channel is strongly connected.
146 int backup_connection_ping_interval = -1;
144 // If true, the most recent port allocator session will keep on running. 147 // If true, the most recent port allocator session will keep on running.
145 bool gather_continually = false; 148 bool gather_continually = false;
146 }; 149 };
147 150
148 bool BadTransportDescription(const std::string& desc, std::string* err_desc); 151 bool BadTransportDescription(const std::string& desc, std::string* err_desc);
149 152
150 bool IceCredentialsChanged(const std::string& old_ufrag, 153 bool IceCredentialsChanged(const std::string& old_ufrag,
151 const std::string& old_pwd, 154 const std::string& old_pwd,
152 const std::string& new_ufrag, 155 const std::string& new_ufrag,
153 const std::string& new_pwd); 156 const std::string& new_pwd);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 316
314 ChannelMap channels_; 317 ChannelMap channels_;
315 318
316 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); 319 RTC_DISALLOW_COPY_AND_ASSIGN(Transport);
317 }; 320 };
318 321
319 322
320 } // namespace cricket 323 } // namespace cricket
321 324
322 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ 325 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_
OLDNEW
« webrtc/p2p/base/p2ptransportchannel_unittest.cc ('K') | « webrtc/p2p/base/port.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698