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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 // TODO(honghaiz): Remove suffix _ms to be consistent. |
144 int receiving_timeout_ms = -1; | 144 int receiving_timeout_ms = -1; |
145 // Time interval in milliseconds to ping a backup connection when the ICE | 145 // Time interval in milliseconds to ping a backup connection when the ICE |
146 // channel is strongly connected. | 146 // channel is strongly connected. |
147 int backup_connection_ping_interval = -1; | 147 int backup_connection_ping_interval = -1; |
148 // 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. |
149 bool gather_continually = false; | 149 bool gather_continually = false; |
150 bool ping_most_likely_candidate_pair_first = false; | |
pthatcher1
2016/01/27 19:59:59
And here, the name could be the same but without "
guoweis_webrtc
2016/02/29 18:03:01
Done.
| |
150 }; | 151 }; |
151 | 152 |
152 bool BadTransportDescription(const std::string& desc, std::string* err_desc); | 153 bool BadTransportDescription(const std::string& desc, std::string* err_desc); |
153 | 154 |
154 bool IceCredentialsChanged(const std::string& old_ufrag, | 155 bool IceCredentialsChanged(const std::string& old_ufrag, |
155 const std::string& old_pwd, | 156 const std::string& old_pwd, |
156 const std::string& new_ufrag, | 157 const std::string& new_ufrag, |
157 const std::string& new_pwd); | 158 const std::string& new_pwd); |
158 | 159 |
159 class Transport : public sigslot::has_slots<> { | 160 class Transport : public sigslot::has_slots<> { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
317 | 318 |
318 ChannelMap channels_; | 319 ChannelMap channels_; |
319 | 320 |
320 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); | 321 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); |
321 }; | 322 }; |
322 | 323 |
323 | 324 |
324 } // namespace cricket | 325 } // namespace cricket |
325 | 326 |
326 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ | 327 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ |
OLD | NEW |