Commit eee6c8ae authored by Youness Alaoui's avatar Youness Alaoui

some debug message

parent 46cc3dd9
...@@ -943,6 +943,7 @@ static void priv_preprocess_conn_check_pending_data (NiceAgent *agent, Stream *s ...@@ -943,6 +943,7 @@ static void priv_preprocess_conn_check_pending_data (NiceAgent *agent, Stream *s
void conn_check_remote_candidates_set(NiceAgent *agent) void conn_check_remote_candidates_set(NiceAgent *agent)
{ {
GSList *i, *j, *k, *l, *m, *n; GSList *i, *j, *k, *l, *m, *n;
for (i = agent->streams; i ; i = i->next) { for (i = agent->streams; i ; i = i->next) {
Stream *stream = i->data; Stream *stream = i->data;
for (j = stream->conncheck_list; j ; j = j->next) { for (j = stream->conncheck_list; j ; j = j->next) {
...@@ -1020,7 +1021,11 @@ void conn_check_remote_candidates_set(NiceAgent *agent) ...@@ -1020,7 +1021,11 @@ void conn_check_remote_candidates_set(NiceAgent *agent)
nice_debug ("Agent %p : Username check failed. pending check has " nice_debug ("Agent %p : Username check failed. pending check has "
"to wait to be processed", agent); "to wait to be processed", agent);
} else { } else {
NiceCandidate *candidate = NiceCandidate *candidate;
nice_debug ("Agent %p : Discovered peer reflexive from early i-check",
agent);
candidate =
discovery_learn_remote_peer_reflexive_candidate (agent, discovery_learn_remote_peer_reflexive_candidate (agent,
stream, stream,
component, component,
...@@ -1681,7 +1686,8 @@ static guint priv_prune_pending_checks (Stream *stream, guint component_id) ...@@ -1681,7 +1686,8 @@ static guint priv_prune_pending_checks (Stream *stream, guint component_id)
guint64 highest_nominated_priority = 0; guint64 highest_nominated_priority = 0;
guint in_progress = 0; guint in_progress = 0;
nice_debug ("Finding highest priority for component %d", component_id); nice_debug ("Agent XXX: Finding highest priority for component %d",
component_id);
for (i = stream->conncheck_list; i; i = i->next) { for (i = stream->conncheck_list; i; i = i->next) {
CandidateCheckPair *p = i->data; CandidateCheckPair *p = i->data;
......
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