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