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

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

Issue 2099563004: Start ICE connectivity checks as soon as the first pair is pingable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removing debug log message, adding missing UpdateState. 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
« no previous file with comments | « no previous file | webrtc/p2p/base/dtlstransportchannel.cc » ('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 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 channel_->SetIceCredentials(ice_ufrag, ice_pwd); 169 channel_->SetIceCredentials(ice_ufrag, ice_pwd);
170 } 170 }
171 void SetRemoteIceCredentials(const std::string& ice_ufrag, 171 void SetRemoteIceCredentials(const std::string& ice_ufrag,
172 const std::string& ice_pwd) override { 172 const std::string& ice_pwd) override {
173 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); 173 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd);
174 } 174 }
175 void SetRemoteIceMode(IceMode mode) override { 175 void SetRemoteIceMode(IceMode mode) override {
176 channel_->SetRemoteIceMode(mode); 176 channel_->SetRemoteIceMode(mode);
177 } 177 }
178 178
179 void Connect() override;
180
181 void MaybeStartGathering() override { channel_->MaybeStartGathering(); } 179 void MaybeStartGathering() override { channel_->MaybeStartGathering(); }
182 180
183 IceGatheringState gathering_state() const override { 181 IceGatheringState gathering_state() const override {
184 return channel_->gathering_state(); 182 return channel_->gathering_state();
185 } 183 }
186 184
187 void AddRemoteCandidate(const Candidate& candidate) override { 185 void AddRemoteCandidate(const Candidate& candidate) override {
188 channel_->AddRemoteCandidate(candidate); 186 channel_->AddRemoteCandidate(candidate);
189 } 187 }
190 void RemoveRemoteCandidate(const Candidate& candidate) override { 188 void RemoveRemoteCandidate(const Candidate& candidate) override {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // transport channel became writable, or before a remote fingerprint was 241 // transport channel became writable, or before a remote fingerprint was
244 // received. 242 // received.
245 rtc::Buffer cached_client_hello_; 243 rtc::Buffer cached_client_hello_;
246 244
247 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); 245 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper);
248 }; 246 };
249 247
250 } // namespace cricket 248 } // namespace cricket
251 249
252 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ 250 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/base/dtlstransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698