Skip to content

Stun pacing

Fabrice Bellet requested to merge bellet/libnice:stun-pacing into master

STUN requests during the connection check are sent with a configurable fixed minimum interval between each request taken from agent->timer_ta that defaults to 20 ms. This pacing is not implemented (or not enabled) in other parts of the code that also send STUN requests. This patch series tries to fix that in three places, by adding a delay of timer_ta in loops, that previously called agent_socket_send() on all list elements, without any delay.

  • in discovery stun requests
  • in keepalives stun requests
  • in turn refreshes closing stun requests
Edited by Fabrice Bellet

Merge request reports