- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjmedia/src/pjmedia/sdp.c
r5193 r5513 409 409 410 410 /* Get the address */ 411 pj_scan_get(&scanner, &cs_token, &rtcp->addr); 411 //pj_scan_get(&scanner, &cs_token, &rtcp->addr); 412 pj_scan_get_until_chr(&scanner, "/ \t\r\n", &rtcp->addr); 412 413 413 414 } … … 432 433 ATTR_LEN = PJ_INET6_ADDRSTRLEN+16 433 434 }; 435 char tmp_addr[PJ_INET6_ADDRSTRLEN]; 434 436 pjmedia_sdp_attr *attr; 435 437 … … 441 443 pj_ansi_snprintf(attr->value.ptr, ATTR_LEN, 442 444 "%u IN IP4 %s", 443 pj_ntohs(a->ipv4.sin_port), 444 pj_inet_ntoa(a->ipv4.sin_addr)); 445 pj_sockaddr_get_port(a), 446 pj_sockaddr_print(a, tmp_addr, 447 sizeof(tmp_addr), 0)); 445 448 } else if (a->addr.sa_family == pj_AF_INET6()) { 446 char tmp_addr[PJ_INET6_ADDRSTRLEN];447 449 attr->value.slen = 448 450 pj_ansi_snprintf(attr->value.ptr, ATTR_LEN,
Note: See TracChangeset
for help on using the changeset viewer.