agent: Start connchecks when credentials are set
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 6 Oct 2020 20:06:19 +0000 (16:06 -0400)
committerOlivier Crête <olivier.crete@ocrete.ca>
Wed, 21 Oct 2020 18:51:22 +0000 (18:51 +0000)
This should make it work even if no remote candidates at all are set
in the case where we can establish a connection based only on peer reflexive
candidates.

agent/agent.c

index c9c9313..5635013 100644 (file)
@@ -3926,6 +3926,7 @@ nice_agent_set_remote_credentials (
     g_strlcpy (stream->remote_password, pwd, NICE_STREAM_MAX_PWD);
 
     conn_check_remote_credentials_set(agent, stream);
+    conn_check_schedule_next (agent);
 
     ret = TRUE;
     goto done;