Index: webrtc/p2p/base/session.h |
diff --git a/webrtc/p2p/base/session.h b/webrtc/p2p/base/session.h |
index 6214dad0b1239491ad307d554fb90462570fc4e6..28fdadf53f4f9aae3c5b567f0796a6a362150318 100644 |
--- a/webrtc/p2p/base/session.h |
+++ b/webrtc/p2p/base/session.h |
@@ -319,6 +319,9 @@ class BaseSession : public sigslot::has_slots<>, |
rtc::SSLIdentity* identity() { return identity_; } |
+ // Set the ice connection receiving timeout. |
+ void SetIceConnectionReceivingTimeout(int timeout_ms); |
+ |
protected: |
// Specifies the identity to use in this session. |
bool SetIdentity(rtc::SSLIdentity* identity); |
@@ -458,6 +461,10 @@ class BaseSession : public sigslot::has_slots<>, |
// will enable us to stop any role switch during the call. |
bool role_switch_; |
TransportMap transports_; |
+ |
+ // Timeout value in milliseconds for which no ICE connection receives |
+ // any packets. |
+ int ice_receiving_timeout_; |
}; |
} // namespace cricket |