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

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

Issue 2163403002: Prepare for ICE-renomination (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: . Created 4 years, 5 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 /* 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
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 // Its value will be set in subsequent CLs based on signaling exchange.
407 bool peer_supports_renomination_ = false;
408 // The value put in the "nomination" attribute for the next nominated
409 // connection. A zero-value indicates the connection will not be nominated.
410 int nominating_value_ = 0;
411 // Used in the controlling side to remember the last connection we have
412 // nominated.
413 Connection* last_nominating_connection_ = nullptr;
406 414
407 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 415 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
408 }; 416 };
409 417
410 } // namespace cricket 418 } // namespace cricket
411 419
412 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 420 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | webrtc/p2p/base/p2ptransportchannel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698