Commit 67fe676f authored by Youness Alaoui's avatar Youness Alaoui

Always start the conn check timer and the keepalive timer, even if initially...

Always start the conn check timer and the keepalive timer, even if initially there are no freezed check
parent a6574f11
......@@ -881,7 +881,6 @@ gboolean conn_check_schedule_next (NiceAgent *agent)
if (agent->discovery_unsched_items > 0)
nice_debug ("Agent %p : WARN: starting conn checks before local candidate gathering is finished.", agent);
if (res == TRUE) {
/* step: call once imediately */
res = priv_conn_check_tick_unlocked ((gpointer) agent);
nice_debug ("Agent %p : priv_conn_check_tick_unlocked returned %d", agent, res);
......@@ -896,8 +895,6 @@ gboolean conn_check_schedule_next (NiceAgent *agent)
agent->keepalive_timer_source = agent_timeout_add_with_context (agent, NICE_AGENT_TIMER_TR_DEFAULT, priv_conn_keepalive_tick, agent);
}
}
nice_debug ("Agent %p : conn_check_schedule_next returning %d", agent, res);
return res;
}
......
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