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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
396 uint64_t tiebreaker_; | 396 uint64_t tiebreaker_; |
397 IceGatheringState gathering_state_; | 397 IceGatheringState gathering_state_; |
398 | 398 |
399 int check_receiving_interval_; | 399 int check_receiving_interval_; |
400 int64_t last_ping_sent_ms_ = 0; | 400 int64_t last_ping_sent_ms_ = 0; |
401 int weak_ping_interval_ = WEAK_PING_INTERVAL; | 401 int weak_ping_interval_ = WEAK_PING_INTERVAL; |
402 TransportChannelState state_ = TransportChannelState::STATE_INIT; | 402 TransportChannelState state_ = TransportChannelState::STATE_INIT; |
403 IceConfig config_; | 403 IceConfig config_; |
404 int last_sent_packet_id_ = -1; // -1 indicates no packet was sent before. | 404 int last_sent_packet_id_ = -1; // -1 indicates no packet was sent before. |
405 bool started_pinging_ = false; | 405 bool started_pinging_ = false; |
406 bool peer_supports_renomination_ = false; | |
Taylor Brandstetter
2016/07/22 17:36:00
Where is this variable set?
honghaiz3
2016/07/22 22:50:11
That will be in a subsequent CL and from signaling
| |
407 int nomination_value_ = 0; | |
Taylor Brandstetter
2016/07/22 17:36:00
Could add a comment explaining that this is the va
honghaiz3
2016/07/22 22:50:11
Done.
| |
408 // Used in the controlling side to remember the last connection we have | |
409 // nominated. | |
410 Connection* last_nominating_connection_ = nullptr; | |
406 | 411 |
407 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); | 412 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); |
408 }; | 413 }; |
409 | 414 |
410 } // namespace cricket | 415 } // namespace cricket |
411 | 416 |
412 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ | 417 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ |
OLD | NEW |