DescriptionPick the DTLS handshake timeout based on the ICE RTT estimate
This CL replaces the previously-hardcoded DTLS timeout value of 50 ms with one that is picked dynamically as 2x ICE RTT (clamped between 50 and 3000 ms to keep it reasonable).
No tests yet - I'm working on these, but sending out this CL early to get feedback. I've tested it manually and on slow networks it results in successful DTLS setup in a single attempt - instead of clogging up the slow link with multiple retransmissions as done previosly.
BUG=webrtc:7099
Review-Url: https://codereview.webrtc.org/2670113002
Cr-Commit-Position: refs/heads/master@{#16426}
Committed: https://chromium.googlesource.com/external/webrtc/+/d030912de4d49e247533892927819c4a7f055815
Patch Set 1 #
Total comments: 16
Patch Set 2 : Only use the RTT estimate once we have some packets to base it on #Patch Set 3 : Rename InitialHandshakeRetransmissionTimeout -> InitialRetransmissionTimeout. #
Messages
Total messages: 26 (14 generated)
|