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

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

Issue 2324853002: Adding logs to track potential cause of not starting port allocation.
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | webrtc/p2p/base/transportcontroller.cc » ('j') | webrtc/p2p/base/transportcontroller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/p2ptransportchannel.cc
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
index f5f8a665aa51e90ee7d544c1257216378bbaf023..e8e852a25fd9be140e6059a8718afd2dd4aec0f0 100644
--- a/webrtc/p2p/base/p2ptransportchannel.cc
+++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -434,6 +434,9 @@ const IceConfig& P2PTransportChannel::config() const {
void P2PTransportChannel::MaybeStartGathering() {
if (ice_parameters_.ufrag.empty() || ice_parameters_.pwd.empty()) {
+ LOG(LS_ERROR) << "Cannot gather candidates because ICE parameters are empty"
+ << " ufrag: " << ice_parameters_.ufrag
+ << " pwd: " << ice_parameters_.pwd;
return;
}
// Start gathering if we never started before, or if an ICE restart occurred.
« no previous file with comments | « no previous file | webrtc/p2p/base/transportcontroller.cc » ('j') | webrtc/p2p/base/transportcontroller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698