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

Unified Diff: webrtc/p2p/base/dtlstransportchannel.cc

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: Code style fixes, renaming some methods, calling MaybeStartPinging in a different place. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/dtlstransportchannel.cc
diff --git a/webrtc/p2p/base/dtlstransportchannel.cc b/webrtc/p2p/base/dtlstransportchannel.cc
index e34dfbd3e2a876240677f90f3297faabe7db2360..137690c930469b4ba7aae0a13e5af516c5f32d98 100644
--- a/webrtc/p2p/base/dtlstransportchannel.cc
+++ b/webrtc/p2p/base/dtlstransportchannel.cc
@@ -138,12 +138,6 @@ DtlsTransportChannelWrapper::DtlsTransportChannelWrapper(
DtlsTransportChannelWrapper::~DtlsTransportChannelWrapper() {
}
-void DtlsTransportChannelWrapper::Connect() {
- // We should only get a single call to Connect.
- ASSERT(dtls_state() == DTLS_TRANSPORT_NEW);
- channel_->Connect();
-}
-
bool DtlsTransportChannelWrapper::SetLocalCertificate(
const rtc::scoped_refptr<rtc::RTCCertificate>& certificate) {
if (dtls_active_) {

Powered by Google App Engine
This is Rietveld 408576698