Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: webrtc/api/peerconnectionfactory.h

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.h
diff --git a/webrtc/api/peerconnectionfactory.h b/webrtc/api/peerconnectionfactory.h
index 377ad73ec8c197b78250b847b6ccc304ed9f09ef..7684b9536297ce7d3e8d4c4c7a97f34f6fa67b19 100644
--- a/webrtc/api/peerconnectionfactory.h
+++ b/webrtc/api/peerconnectionfactory.h
@@ -91,7 +91,8 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface {
virtual webrtc::MediaControllerInterface* CreateMediaController(
const cricket::MediaConfig& config) const;
virtual cricket::TransportController* CreateTransportController(
- cricket::PortAllocator* port_allocator);
+ cricket::PortAllocator* port_allocator,
+ bool redetermine_role_on_ice_restart);
pthatcher1 2016/08/29 22:18:07 Can we make this a struct instead of a bool? Then
honghaiz3 2016/08/29 23:16:59 Can we delay using a struct until we need to add a
pthatcher1 2016/08/29 23:27:42 Good point about removing it soon.
virtual rtc::Thread* signaling_thread();
virtual rtc::Thread* worker_thread();
virtual rtc::Thread* network_thread();

Powered by Google App Engine
This is Rietveld 408576698