Commit 6840d863 authored by Jakub Adam's avatar Jakub Adam Committed by Olivier Crête

Do not retransmit connection checks on reliable transport

parent 7c7aa8ac
......@@ -1739,8 +1739,12 @@ int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair)
}
if (buffer_len > 0) {
if (nice_socket_is_reliable(pair->local->sockptr)) {
stun_timer_start_reliable(&pair->timer, STUN_TIMER_DEFAULT_TIMEOUT);
} else {
stun_timer_start (&pair->timer, STUN_TIMER_DEFAULT_TIMEOUT,
STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS);
}
/* send the conncheck */
agent_socket_send (pair->local->sockptr, &pair->remote->addr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment