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

Unified Diff: webrtc/api/peerconnectioninterface.h

Issue 2295493002: Add a switch to redetermine role when ICE restarts. (Closed)
Patch Set: Address comments 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/peerconnectioninterface.h
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
index fdf9cef51ec2a2a8b419227522d085a36b2c4ad2..f26d493c43da1470d493ea550bc2483d0a16879e 100644
--- a/webrtc/api/peerconnectioninterface.h
+++ b/webrtc/api/peerconnectioninterface.h
@@ -305,6 +305,10 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
// If set to true, this means the ICE transport should presume TURN-to-TURN
// candidate pairs will succeed, even before a binding response is received.
bool presume_writable_when_fully_relayed = false;
+ // If true, ICE role is redetermined when peerconnection sets a local
+ // transport description that indicates an ICE restart.
+ // Default to true because that is the current behavior.
+ bool redetermine_role_on_ice_restart = true;
pthatcher1 2016/08/29 23:27:42 Can we make the default = false?
honghaiz3 2016/08/29 23:32:27 Done.
struct RTCOfferAnswerOptions {

Powered by Google App Engine
This is Rietveld 408576698