break;
}
if (m == NULL) {
- conn_check_add_for_candidate (agent, stream->id, component, remote_candidate);
+ conn_check_add_for_candidate_pair (agent, stream->id, component,
+ local_candidate, remote_candidate);
}
}
}
}
}
-static gboolean priv_conn_check_add_for_candidate_pair (NiceAgent *agent,
+gboolean conn_check_add_for_candidate_pair (NiceAgent *agent,
guint stream_id, Component *component, NiceCandidate *local,
NiceCandidate *remote)
{
for (i = component->local_candidates; i ; i = i->next) {
NiceCandidate *local = i->data;
- ret = priv_conn_check_add_for_candidate_pair (agent, stream_id, component, local, remote);
+ ret = conn_check_add_for_candidate_pair (agent, stream_id, component, local, remote);
if (ret) {
++added;
for (i = component->remote_candidates; i ; i = i->next) {
NiceCandidate *remote = i->data;
- ret = priv_conn_check_add_for_candidate_pair (agent, stream_id, component, local, remote);
+ ret = conn_check_add_for_candidate_pair (agent, stream_id, component, local, remote);
if (ret) {
++added;
int conn_check_add_for_candidate (NiceAgent *agent, guint stream_id, Component *component, NiceCandidate *remote);
int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, Component *component, NiceCandidate *local);
+gboolean conn_check_add_for_candidate_pair (NiceAgent *agent, guint stream_id, Component *component, NiceCandidate *local, NiceCandidate *remote);
void conn_check_free (NiceAgent *agent);
gboolean conn_check_schedule_next (NiceAgent *agent);
int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair);