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

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

Issue 1577233006: Implement Turn/Turn first logic for connection selection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: fix a bug Created 4 years, 11 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 17 matching lines...) Expand all
28 #include "webrtc/p2p/base/portallocator.h" 28 #include "webrtc/p2p/base/portallocator.h"
29 #include "webrtc/p2p/base/portinterface.h" 29 #include "webrtc/p2p/base/portinterface.h"
30 #include "webrtc/p2p/base/transport.h" 30 #include "webrtc/p2p/base/transport.h"
31 #include "webrtc/p2p/base/transportchannelimpl.h" 31 #include "webrtc/p2p/base/transportchannelimpl.h"
32 #include "webrtc/base/asyncpacketsocket.h" 32 #include "webrtc/base/asyncpacketsocket.h"
33 #include "webrtc/base/sigslot.h" 33 #include "webrtc/base/sigslot.h"
34 34
35 namespace cricket { 35 namespace cricket {
36 36
37 extern const uint32_t WEAK_PING_DELAY; 37 extern const uint32_t WEAK_PING_DELAY;
38 extern const uint32_t MAX_CURRENT_STRONG_DELAY;
38 39
39 struct IceParameters { 40 struct IceParameters {
40 std::string ufrag; 41 std::string ufrag;
41 std::string pwd; 42 std::string pwd;
42 IceParameters(const std::string& ice_ufrag, const std::string& ice_pwd) 43 IceParameters(const std::string& ice_ufrag, const std::string& ice_pwd)
43 : ufrag(ice_ufrag), pwd(ice_pwd) {} 44 : ufrag(ice_ufrag), pwd(ice_pwd) {}
44 45
45 bool operator==(const IceParameters& other) { 46 bool operator==(const IceParameters& other) {
46 return ufrag == other.ufrag && pwd == other.pwd; 47 return ufrag == other.ufrag && pwd == other.pwd;
47 } 48 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 bool gather_continually_ = false; 297 bool gather_continually_ = false;
297 int weak_ping_delay_ = WEAK_PING_DELAY; 298 int weak_ping_delay_ = WEAK_PING_DELAY;
298 TransportChannelState state_ = TransportChannelState::STATE_INIT; 299 TransportChannelState state_ = TransportChannelState::STATE_INIT;
299 300
300 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 301 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
301 }; 302 };
302 303
303 } // namespace cricket 304 } // namespace cricket
304 305
305 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 306 #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_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698