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

Unified Diff: webrtc/p2p/client/connectivitychecker.cc

Issue 1308753003: Revert "Reland "Remove GICE (gone forever!) and PORTALLOCATOR_ENABLE_SHARED_UFRAG (enabled forever)… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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/client/connectivitychecker.cc
diff --git a/webrtc/p2p/client/connectivitychecker.cc b/webrtc/p2p/client/connectivitychecker.cc
index 8a7fc0d740887e4b42ffd9cb080ea5d859668372..1fb9165670e35c97e989e9485ff48b04ad54b3ff 100644
--- a/webrtc/p2p/client/connectivitychecker.cc
+++ b/webrtc/p2p/client/connectivitychecker.cc
@@ -115,6 +115,9 @@ bool ConnectivityChecker::Initialize() {
socket_factory_.reset(CreateSocketFactory(worker_));
port_allocator_.reset(CreatePortAllocator(network_manager_.get(),
user_agent_, relay_token_));
+ uint32 new_allocator_flags = port_allocator_->flags();
+ new_allocator_flags |= cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG;
+ port_allocator_->set_flags(new_allocator_flags);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698