I'm now reading the source code of pjsip, and I found that in pjmedia/transport_udp.c, It seems line 509 and line 511 do the same thing: 508 509 pj_memcpy(&udp->rem_rtcp_addr, &udp->rem_rtp_addr, 510 sizeof(pj_sockaddr)); 511 pj_sockaddr_copy_addr(&udp->rem_rtcp_addr, 512 &udp->rem_rtp_addr); 513 port = (pj_uint16_t) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150526/5f56c452/attachment.html>