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

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

Issue 2670113002: Pick the DTLS handshake timeout based on the ICE RTT estimate (Closed)
Patch Set: Rename InitialHandshakeRetransmissionTimeout -> InitialRetransmissionTimeout. Created 3 years, 10 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
« no previous file with comments | « webrtc/p2p/base/fakeicetransport.h ('k') | webrtc/p2p/base/p2ptransportchannel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 virtual void AddRemoteCandidate(const Candidate& candidate) = 0; 97 virtual void AddRemoteCandidate(const Candidate& candidate) = 0;
98 98
99 virtual void RemoveRemoteCandidate(const Candidate& candidate) = 0; 99 virtual void RemoveRemoteCandidate(const Candidate& candidate) = 0;
100 100
101 virtual IceGatheringState gathering_state() const = 0; 101 virtual IceGatheringState gathering_state() const = 0;
102 102
103 // Returns the current stats for this connection. 103 // Returns the current stats for this connection.
104 virtual bool GetStats(ConnectionInfos* infos) = 0; 104 virtual bool GetStats(ConnectionInfos* infos) = 0;
105 105
106 // Returns RTT estimate over the currently active connection, or an empty
107 // rtc::Optional if there is none.
108 virtual rtc::Optional<int> GetRttEstimate() = 0;
109
106 sigslot::signal1<IceTransportInternal*> SignalGatheringState; 110 sigslot::signal1<IceTransportInternal*> SignalGatheringState;
107 111
108 // Handles sending and receiving of candidates. 112 // Handles sending and receiving of candidates.
109 sigslot::signal2<IceTransportInternal*, const Candidate&> 113 sigslot::signal2<IceTransportInternal*, const Candidate&>
110 SignalCandidateGathered; 114 SignalCandidateGathered;
111 115
112 sigslot::signal2<IceTransportInternal*, const Candidates&> 116 sigslot::signal2<IceTransportInternal*, const Candidates&>
113 SignalCandidatesRemoved; 117 SignalCandidatesRemoved;
114 118
115 // Deprecated by SignalSelectedCandidatePairChanged 119 // Deprecated by SignalSelectedCandidatePairChanged
(...skipping 23 matching lines...) Expand all
139 143
140 // Debugging description of this transport. 144 // Debugging description of this transport.
141 std::string debug_name() const override { 145 std::string debug_name() const override {
142 return transport_name() + " " + std::to_string(component()); 146 return transport_name() + " " + std::to_string(component());
143 } 147 }
144 }; 148 };
145 149
146 } // namespace cricket 150 } // namespace cricket
147 151
148 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ 152 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/fakeicetransport.h ('k') | webrtc/p2p/base/p2ptransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698