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 { |