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

Unified Diff: webrtc/base/sslstreamadapter.h

Issue 2670113002: Pick the DTLS handshake timeout based on the ICE RTT estimate (Closed)
Patch Set: Rename InitialHandshakeRetransmissionTimeout -> InitialRetransmissionTimeout. Created 3 years, 11 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/base/opensslstreamadapter.cc ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/sslstreamadapter.h
diff --git a/webrtc/base/sslstreamadapter.h b/webrtc/base/sslstreamadapter.h
index 4f5ee02fe44343fb7028e5f9ca354a371ff50d9d..e4df77436c143eb3d58079f0559317b7f54e2fa8 100644
--- a/webrtc/base/sslstreamadapter.h
+++ b/webrtc/base/sslstreamadapter.h
@@ -156,6 +156,12 @@ class SSLStreamAdapter : public StreamAdapterInterface {
// next lower will be used.
virtual void SetMaxProtocolVersion(SSLProtocolVersion version) = 0;
+ // Set the initial retransmission timeout for DTLS messages. When the timeout
+ // expires, the message gets retransmitted and the timeout is exponentially
+ // increased.
+ // This should only be called before StartSSL().
+ virtual void SetInitialRetransmissionTimeout(int timeout_ms) = 0;
+
// StartSSL starts negotiation with a peer, whose certificate is verified
// using the certificate digest. Generally, SetIdentity() and possibly
// SetServerRole() should have been called before this.
« no previous file with comments | « webrtc/base/opensslstreamadapter.cc ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698