diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-03-26 20:14:51 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-03-27 20:21:08 +0100 |
commit | ed93546c519b35d5ece89c1fece94d8347e26f28 (patch) | |
tree | 5d3c2130899d26bf28b1112144dd023cfeb487a2 | |
parent | 91de9a3ffbe1fcc1147cdcac02380b2fe35d3b8e (diff) |
ICE: use pj_ice_strans_sendto2
-rw-r--r-- | src/Erebos/ICE/pjproject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Erebos/ICE/pjproject.c b/src/Erebos/ICE/pjproject.c index 2374340..e79fb9d 100644 --- a/src/Erebos/ICE/pjproject.c +++ b/src/Erebos/ICE/pjproject.c @@ -397,7 +397,7 @@ void ice_send(pj_ice_strans * strans, const char * data, size_t len) return; } - pj_status_t status = pj_ice_strans_sendto(strans, 1, data, len, + pj_status_t status = pj_ice_strans_sendto2(strans, 1, data, len, &ice.def_addr, pj_sockaddr_get_len(&ice.def_addr)); if (status != PJ_SUCCESS && status != PJ_EPENDING) ice_perror("error sending data", status); |