Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 2c3b61b718307173d152a1c8f35ecf933b00aaed..b6c656aea410d2ac41d49bb139549f17ee72145f 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -89,6 +89,7 @@ enum IcePriorityValue { |
// For TLS ICE_TYPE_PREFERENCE_RELAY will be 0. |
// Check turnport.cc for setting these values. |
ICE_TYPE_PREFERENCE_RELAY = 2, |
+ ICE_TYPE_PREFERENCE_PRFLX_TCP = 80, |
ICE_TYPE_PREFERENCE_HOST_TCP = 90, |
ICE_TYPE_PREFERENCE_SRFLX = 100, |
ICE_TYPE_PREFERENCE_PRFLX = 110, |
@@ -656,8 +657,10 @@ class Connection : public CandidatePairInterface, |
ConnectionInfo stats_; |
private: |
- void MaybeAddPrflxCandidate(ConnectionRequest* request, |
- StunMessage* response); |
+ // Update the local candidate based on the mapped address attribute. |
+ // If the local candidate changed, fires SignalStateChange. |
+ void MaybeUpdateLocalCandidate(ConnectionRequest* request, |
+ StunMessage* response); |
bool reported_; |
State state_; |