add some debug messages

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 14 years ago
parent c7488f9bef
commit 25efdcec03

@ -771,6 +771,9 @@ static int call_streams(struct call *c, GQueue *s, const char *tag, int opmode)
cs_o = l->data; cs_o = l->data;
for (x = 0; x < 2; x++) { for (x = 0; x < 2; x++) {
r = &cs_o->peers[x].rtps[0]; r = &cs_o->peers[x].rtps[0];
DBG("comparing new "IPF":%u/%s to old "IPF":%u/%s",
IPP(t->ip), t->port, tag,
IPP(r->peer_advertised.ip), r->peer_advertised.port, cs_o->peers[x].tag);
if (r->peer_advertised.ip != t->ip) if (r->peer_advertised.ip != t->ip)
continue; continue;
if (r->peer_advertised.port != t->port) if (r->peer_advertised.port != t->port)
@ -836,6 +839,7 @@ found:
we already have. check whether the direction is reversed or not and return we already have. check whether the direction is reversed or not and return
the appropriate details. if no matching stream was found, results are the appropriate details. if no matching stream was found, results are
undefined. */ undefined. */
DBG("double lookup");
if (p == r->up) if (p == r->up)
goto skip; goto skip;
if (p2 == r->up) { if (p2 == r->up) {

Loading…
Cancel
Save