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

Unified Diff: webrtc/p2p/base/transportcontroller.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 | « webrtc/p2p/base/p2ptransportchannel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/transportcontroller.cc
diff --git a/webrtc/p2p/base/transportcontroller.cc b/webrtc/p2p/base/transportcontroller.cc
index de98df23bc51c17319f398288576eaa86e5b6131..e6182bdef037019931d6d4991c1d8b3fd677d142 100644
--- a/webrtc/p2p/base/transportcontroller.cc
+++ b/webrtc/p2p/base/transportcontroller.cc
@@ -455,6 +455,12 @@ bool TransportController::SetLocalTransportDescription_n(
// it could have been deleted as a result of bundling.
// TODO(deadbeef): Make callers smarter so they won't attempt to set a
// description on a deleted transport.
+ // This assumes we always bundle all media on the audio transport, so I
+ // only log a message here.
+ if (transport_name == CN_AUDIO) {
pthatcher1 2016/09/08 17:55:27 We don't always bundle on audio, and this would lo
honghaiz3 2016/09/08 21:30:11 If we are using data-channel only, then the transp
+ LOG(LS_ERROR) << "No transport is found for audio when setting "
+ << "local transport description";
+ }
return true;
}
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698