Index: webrtc/api/peerconnectionfactory.cc |
diff --git a/webrtc/api/peerconnectionfactory.cc b/webrtc/api/peerconnectionfactory.cc |
index a91589a98a55343f3bb0ec845337ddb443e05ab6..2717c0987de43ce5034170d8e872a9185e3e8733 100644 |
--- a/webrtc/api/peerconnectionfactory.cc |
+++ b/webrtc/api/peerconnectionfactory.cc |
@@ -189,7 +189,6 @@ bool PeerConnectionFactory::Initialize() { |
return true; |
} |
zhihuang1
2016/06/01 21:11:21
This empty line should not be deleted.
|
- |
rtc::scoped_refptr<AudioSourceInterface> |
PeerConnectionFactory::CreateAudioSource( |
const MediaConstraintsInterface* constraints) { |
@@ -332,6 +331,13 @@ webrtc::MediaControllerInterface* PeerConnectionFactory::CreateMediaController( |
channel_manager_.get()); |
} |
+cricket::TransportController* PeerConnectionFactory::CreateTransportController( |
+ cricket::PortAllocator* port_allocator) { |
+ RTC_DCHECK(signaling_thread_->IsCurrent()); |
+ return new cricket::TransportController(signaling_thread_, network_thread_, |
+ port_allocator); |
+} |
+ |
rtc::Thread* PeerConnectionFactory::signaling_thread() { |
// This method can be called on a different thread when the factory is |
// created in CreatePeerConnectionFactory(). |