Changeset 6071 for pjproject/trunk/pjsip-apps/src/samples/icedemo.c
- Timestamp:
- Sep 23, 2019 7:25:41 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/icedemo.c
r4624 r6071 994 994 } 995 995 996 status = pj_ice_strans_sendto (icedemo.icest, comp_id, data, strlen(data),997 &icedemo.rem.def_addr[comp_id-1],998 pj_sockaddr_get_len(&icedemo.rem.def_addr[comp_id-1]));999 if (status != PJ_SUCCESS )996 status = pj_ice_strans_sendto2(icedemo.icest, comp_id, data, strlen(data), 997 &icedemo.rem.def_addr[comp_id-1], 998 pj_sockaddr_get_len(&icedemo.rem.def_addr[comp_id-1])); 999 if (status != PJ_SUCCESS && status != PJ_EPENDING) 1000 1000 icedemo_perror("Error sending data", status); 1001 1001 else 1002 PJ_LOG(3,(THIS_FILE, "Data sent "));1002 PJ_LOG(3,(THIS_FILE, "Data sent/will be sent")); 1003 1003 } 1004 1004
Note: See TracChangeset
for help on using the changeset viewer.