Commit 84304de6 authored by Kai Vehmanen's avatar Kai Vehmanen

Update XXX comments related to set_remote_candidates() API.

darcs-hash:20080312084128-77cd4-44164756cf8dae27f34f570edd0b937b78fdd89b.gz
parent a08fe4cb
...@@ -952,6 +952,8 @@ nice_agent_add_remote_candidate ( ...@@ -952,6 +952,8 @@ nice_agent_add_remote_candidate (
const gchar *password) const gchar *password)
{ {
/* XXX: to be deprecated */
/* XXX: should we allow use of this method without an /* XXX: should we allow use of this method without an
* initial call to nice_agent_set_remote_candidates() * initial call to nice_agent_set_remote_candidates()
* with an empty set? */ * with an empty set? */
...@@ -998,9 +1000,6 @@ nice_agent_set_remote_candidates (NiceAgent *agent, guint stream_id, guint compo ...@@ -998,9 +1000,6 @@ nice_agent_set_remote_candidates (NiceAgent *agent, guint stream_id, guint compo
if (agent->discovery_unsched_items > 0) if (agent->discovery_unsched_items > 0)
return -1; return -1;
/* XXX: clean up existing remote candidates, and abort any
* connectivity checks using these candidates */
for (i = candidates; i && added >= 0; i = i->next) { for (i = candidates; i && added >= 0; i = i->next) {
NiceCandidateDesc *d = (NiceCandidateDesc*) i->data; NiceCandidateDesc *d = (NiceCandidateDesc*) i->data;
gboolean res = gboolean 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