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

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

Issue 1803063004: Reset the BWE when the network changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Add tests in p2ptransportchannel Created 4 years, 9 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/p2ptransportchannel.cc
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
index e0428d638312b464ce9bc0fc72fdd3f3bfd669b5..2070cf54beeb83aab2f0912b9ec27966e0223619 100644
--- a/webrtc/p2p/base/p2ptransportchannel.cc
+++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -1165,6 +1165,8 @@ void P2PTransportChannel::SwitchBestConnectionTo(Connection* conn) {
} else {
LOG_J(LS_INFO, this) << "No best connection";
}
+ // TODO(honghaiz): rename best_connection_ with selected_connection_.
+ SignalSelectedConnectionChanged(this, best_connection_);
}
// Warning: UpdateState should eventually be called whenever a connection

Powered by Google App Engine
This is Rietveld 408576698