[Devel] rtpproxy code
Norman Brandinger
norm at goes.com
Mon Mar 6 16:34:16 CET 2006
Hi Marco,
I'm not very familiar with the rtpproxy sources, but have been trying to
learn more about them.
While I found a couple of "sendto" calls, neither matched the line
numbers in your post. I just downloaded the most current CVS version.
It appears that the first "sendto" is sending data through one of the
dynamically assigned sockets. This is probably the communications
between, a user end-point and the proxy.
The second "sendto" is the socket connection to OpenSER.
...
sendto(sp->fds[sidx], sp->rtps[sidx]->buf, len, 0, sp->addr[sidx],
SA_LEN(sp->addr[sidx]));
...
while (sendto(controlfd, buf, len, 0, sstosa(&raddr), rlen) == -1 &&
errno == ENOBUFS);
...
Hope this helps. If anyone has more wisdom or comments (or
corrections), please post them.
Regards,
Norm
More information about the Devel
mailing list