Index: webrtc/api/peerconnectionfactory.cc |
diff --git a/webrtc/api/peerconnectionfactory.cc b/webrtc/api/peerconnectionfactory.cc |
index 175b607ca848f7e71d745c27b1eec1672a169199..acd5ba0df1d7262c7750b16f4096d577686e29fd 100644 |
--- a/webrtc/api/peerconnectionfactory.cc |
+++ b/webrtc/api/peerconnectionfactory.cc |
@@ -286,10 +286,11 @@ PeerConnectionFactory::CreateAudioTrack(const std::string& id, |
return AudioTrackProxy::Create(signaling_thread_, track); |
} |
-webrtc::MediaControllerInterface* PeerConnectionFactory::CreateMediaController() |
+webrtc::MediaControllerInterface* PeerConnectionFactory::CreateMediaController( |
+ const cricket::MediaConfig& config) |
const { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
- return MediaControllerInterface::Create(worker_thread_, |
+ return MediaControllerInterface::Create(config, worker_thread_, |
channel_manager_.get()); |
} |