agent: stay in aggressive mode after stun requests have been sent
authorFabrice Bellet <fabrice@bellet.info>
Thu, 23 Apr 2020 15:12:41 +0000 (17:12 +0200)
committerFabrice Bellet <fabrice@bellet.info>
Fri, 8 May 2020 15:24:29 +0000 (17:24 +0200)
commitcbf0162d7f0b9b2800acfe09f767ce8676f09e97
tree86be27d2a7e176de4270a12f5d8eced1c4d0987b
parent010ecd50341b0f861f9e395f552cee94bab79825
agent: stay in aggressive mode after stun requests have been sent

This patch updates the previous commit "agent: stay in aggressive mode
after conncheck has started", by accepting to switch from aggressive to
regular mode, while no stun request has been sent. It gives the agent
some extra delay to still accept remote tcp candidates, after its state
already changed from gathering to connecting.
agent/agent.c
agent/conncheck.c
agent/conncheck.h