summaryrefslogtreecommitdiff
path: root/src/Erebos/ICE/pjproject.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-06-13 22:49:29 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-06-14 15:45:27 +0200
commit5b3c52c50b5301d009fb9a0d44b4cf91d50f6de4 (patch)
tree4814de0d56b7fe84da2ce507d24cfdf8e100f61e /src/Erebos/ICE/pjproject.h
parent7fa7cdeb5a8c0c784145df852da8ec4c18cb6e6b (diff)
Terminate ICE thread when server is stoppedrelease-0.1
Changelog: Improved handling of ICE connections
Diffstat (limited to 'src/Erebos/ICE/pjproject.h')
-rw-r--r--src/Erebos/ICE/pjproject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Erebos/ICE/pjproject.h b/src/Erebos/ICE/pjproject.h
index 1d20891..c31e227 100644
--- a/src/Erebos/ICE/pjproject.h
+++ b/src/Erebos/ICE/pjproject.h
@@ -6,6 +6,7 @@
struct erebos_ice_cfg * ice_cfg_create( const char * stun_server, uint16_t stun_port,
const char * turn_server, uint16_t turn_port );
void ice_cfg_free( struct erebos_ice_cfg * cfg );
+void ice_cfg_stop_thread( struct erebos_ice_cfg * cfg );
pj_ice_strans * ice_create( const struct erebos_ice_cfg *, pj_ice_sess_role role,
HsStablePtr sptr, HsStablePtr cb );