Changeset 5877 for pjproject/trunk/pjsip/src/pjsua2/call.cpp
- Timestamp:
- Sep 4, 2018 2:57:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/call.cpp
r5834 r5877 132 132 { 133 133 char straddr[PJ_INET6_ADDRSTRLEN+10]; 134 135 pj_sockaddr_print(&info.src_rtp_name, straddr, sizeof(straddr), 3); 136 srcRtpName = straddr; 137 pj_sockaddr_print(&info.src_rtcp_name, straddr, sizeof(straddr), 3); 138 srcRtcpName = straddr; 134 135 localRtpName = localRtcpName = srcRtpName = srcRtcpName = ""; 136 if (pj_sockaddr_has_addr(&info.sock_info.rtp_addr_name)) { 137 pj_sockaddr_print(&info.sock_info.rtp_addr_name, straddr, 138 sizeof(straddr), 3); 139 localRtpName = straddr; 140 } 141 142 if (pj_sockaddr_has_addr(&info.sock_info.rtcp_addr_name)) { 143 pj_sockaddr_print(&info.sock_info.rtcp_addr_name, straddr, 144 sizeof(straddr), 3); 145 localRtcpName = straddr; 146 } 147 148 if (pj_sockaddr_has_addr(&info.src_rtp_name)) { 149 pj_sockaddr_print(&info.src_rtp_name, straddr, sizeof(straddr), 3); 150 srcRtpName = straddr; 151 } 152 153 if (pj_sockaddr_has_addr(&info.src_rtcp_name)) { 154 pj_sockaddr_print(&info.src_rtcp_name, straddr, sizeof(straddr), 3); 155 srcRtcpName = straddr; 156 } 139 157 } 140 158
Note: See TracChangeset
for help on using the changeset viewer.