Commit d4c7f32c authored by Youness Alaoui's avatar Youness Alaoui

If we want to nominate a new triggered check, then we must create it before we nominate it

parent 7bde27bf
...@@ -1372,11 +1372,11 @@ static void priv_reply_to_conn_check (NiceAgent *agent, Stream *stream, Componen ...@@ -1372,11 +1372,11 @@ static void priv_reply_to_conn_check (NiceAgent *agent, Stream *stream, Componen
nice_udp_socket_send (udp_socket, toaddr, rbuf_len, (const gchar*)rbuf); nice_udp_socket_send (udp_socket, toaddr, rbuf_len, (const gchar*)rbuf);
if (rcand) { if (rcand) {
if (use_candidate)
priv_mark_pair_nominated (agent, stream, component, rcand);
/* note: upon succesful check, make the reserve check immediately */ /* note: upon succesful check, make the reserve check immediately */
priv_schedule_triggered_check (agent, stream, component, udp_socket, rcand, use_candidate); priv_schedule_triggered_check (agent, stream, component, udp_socket, rcand, use_candidate);
if (use_candidate)
priv_mark_pair_nominated (agent, stream, component, rcand);
} }
} }
......
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