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

Unified Diff: webrtc/api/peerconnectionfactory.cc

Issue 1975453002: Add PeerConnection IsClosed check. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Minor Changes. Created 4 years, 7 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/api/peerconnectionfactory.cc
diff --git a/webrtc/api/peerconnectionfactory.cc b/webrtc/api/peerconnectionfactory.cc
index 178c59bb1217d22ac43d3d27d388f6da3ea9fcb6..a51ae4a92d171fc50c92bee5bc9873bffe155963 100644
--- a/webrtc/api/peerconnectionfactory.cc
+++ b/webrtc/api/peerconnectionfactory.cc
@@ -159,7 +159,6 @@ bool PeerConnectionFactory::Initialize() {
return true;
}
-
Taylor Brandstetter 2016/06/21 23:50:02 Was this line deleted on purpose?
rtc::scoped_refptr<AudioSourceInterface>
PeerConnectionFactory::CreateAudioSource(
const MediaConstraintsInterface* constraints) {
@@ -300,6 +299,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().

Powered by Google App Engine
This is Rietveld 408576698