Index: webrtc/api/peerconnection.cc |
diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc |
index c675015ac9bbee705038fa997b716571eb342357..b13113aa3a2138e6ff7b202b5bd2040604ce8e7d 100644 |
--- a/webrtc/api/peerconnection.cc |
+++ b/webrtc/api/peerconnection.cc |
@@ -627,7 +627,9 @@ bool PeerConnection::Initialize( |
factory_->worker_thread(), factory_->signaling_thread(), |
port_allocator_.get(), |
std::unique_ptr<cricket::TransportController>( |
- factory_->CreateTransportController(port_allocator_.get())))); |
+ factory_->CreateTransportController( |
+ port_allocator_.get(), |
+ configuration.redetermine_role_on_ice_restart)))); |
stats_.reset(new StatsCollector(this)); |