Index: webrtc/api/peerconnection.cc |
diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc |
index 506a21582f7ae0ce6f4dffa34497ac72b4dc14ee..a699fd58b1aab2ab334e3b9ea70680f2eb1ec50c 100644 |
--- a/webrtc/api/peerconnection.cc |
+++ b/webrtc/api/peerconnection.cc |
@@ -586,8 +586,9 @@ bool PeerConnection::Initialize( |
factory_->CreateMediaController(configuration.media_config)); |
session_.reset( |
- new WebRtcSession(media_controller_.get(), factory_->signaling_thread(), |
- factory_->worker_thread(), port_allocator_.get())); |
+ new WebRtcSession(media_controller_.get(), factory_->network_thread(), |
+ factory_->worker_thread(), factory_->signaling_thread(), |
+ port_allocator_.get())); |
stats_.reset(new StatsCollector(this)); |
// Initialize the WebRtcSession. It creates transport channels etc. |