- Timestamp:
- Oct 25, 2013 10:34:38 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/types.cpp
r4631 r4638 214 214 /////////////////////////////////////////////////////////////////////////////// 215 215 216 void SipRxData::fromPj(pjsip_rx_data &rdata) 217 { 218 info = pjsip_rx_data_get_info(&rdata); 219 wholeMsg = string(rdata.msg_info.msg_buf, rdata.msg_info.len); 220 srcIp = rdata.pkt_info.src_name; 221 srcPort = rdata.pkt_info.src_port; 222 } 223 224 /////////////////////////////////////////////////////////////////////////////// 225 216 226 void SipHeader::fromPj(const pjsip_hdr *hdr) throw(Error) 217 227 {
Note: See TracChangeset
for help on using the changeset viewer.