Changeset 1666
- Timestamp:
- Jan 7, 2008 1:50:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/streamutil.c
r974 r1666 145 145 pj_memcpy(&info.rem_addr, rem_addr, sizeof(pj_sockaddr_in)); 146 146 147 /* If remote address is not set, set to an arbitrary address 148 * (otherwise stream will assert). 149 */ 150 if (info.rem_addr.addr.sa_family == 0) { 151 const pj_str_t addr = pj_str("127.0.0.1"); 152 pj_sockaddr_in_init(&info.rem_addr.ipv4, &addr, 0); 153 } 147 154 148 155 /* Create media transport */
Note: See TracChangeset
for help on using the changeset viewer.