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

Unified Diff: webrtc/api/peerconnectionfactory.cc

Issue 2295493002: Add a switch to redetermine role when ICE restarts. (Closed)
Patch Set: . Created 4 years, 4 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 82cd5d4f4a66f79eb3ca9ccf2b9a99f018d84c05..f49c291e49ee210647e46f3ae3e49c036c93a055 100644
--- a/webrtc/api/peerconnectionfactory.cc
+++ b/webrtc/api/peerconnectionfactory.cc
@@ -309,10 +309,12 @@ webrtc::MediaControllerInterface* PeerConnectionFactory::CreateMediaController(
}
cricket::TransportController* PeerConnectionFactory::CreateTransportController(
- cricket::PortAllocator* port_allocator) {
+ cricket::PortAllocator* port_allocator,
+ bool redetermine_role_on_ice_restart) {
RTC_DCHECK(signaling_thread_->IsCurrent());
return new cricket::TransportController(signaling_thread_, network_thread_,
- port_allocator);
+ port_allocator,
+ redetermine_role_on_ice_restart);
pthatcher1 2016/08/29 22:18:07 Don't you need to change transportcontroller.h als
honghaiz3 2016/08/29 23:16:59 Taylor landed a CL to change the transportcontroll
pthatcher1 2016/08/29 23:27:42 Ah, it's not in cs.chromium.org yet.
}
rtc::Thread* PeerConnectionFactory::signaling_thread() {

Powered by Google App Engine
This is Rietveld 408576698