Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: webrtc/p2p/base/session.h

Issue 1231913003: Add methods to set the ICE connection receiving_timeout values. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Address comments Created 5 years, 5 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
« no previous file with comments | « webrtc/p2p/base/rawtransportchannel.h ('k') | webrtc/p2p/base/session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/p2p/base/rawtransportchannel.h ('k') | webrtc/p2p/base/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698