| OLD | NEW |
| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 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 // TODO(honghaiz): Remove suffix _ms to be consistent. |
| 143 int receiving_timeout_ms = -1; | 144 int receiving_timeout_ms = -1; |
| 145 // Time interval in milliseconds to ping a backup connection when the ICE |
| 146 // channel is strongly connected. |
| 147 int backup_connection_ping_interval = -1; |
| 144 // If true, the most recent port allocator session will keep on running. | 148 // If true, the most recent port allocator session will keep on running. |
| 145 bool gather_continually = false; | 149 bool gather_continually = false; |
| 146 }; | 150 }; |
| 147 | 151 |
| 148 bool BadTransportDescription(const std::string& desc, std::string* err_desc); | 152 bool BadTransportDescription(const std::string& desc, std::string* err_desc); |
| 149 | 153 |
| 150 bool IceCredentialsChanged(const std::string& old_ufrag, | 154 bool IceCredentialsChanged(const std::string& old_ufrag, |
| 151 const std::string& old_pwd, | 155 const std::string& old_pwd, |
| 152 const std::string& new_ufrag, | 156 const std::string& new_ufrag, |
| 153 const std::string& new_pwd); | 157 const std::string& new_pwd); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 | 317 |
| 314 ChannelMap channels_; | 318 ChannelMap channels_; |
| 315 | 319 |
| 316 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); | 320 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); |
| 317 }; | 321 }; |
| 318 | 322 |
| 319 | 323 |
| 320 } // namespace cricket | 324 } // namespace cricket |
| 321 | 325 |
| 322 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ | 326 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ |
| OLD | NEW |