diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-06-05 22:08:12 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-06-05 22:08:12 +0200 |
commit | 3f7ebd55643ac16820d3c81e8bc61be084d781ba (patch) | |
tree | 9de80cebe2b1a5ec811b82df6e606e9013d14093 /src/Erebos/ICE/pjproject.h | |
parent | b810f2dab0040e9c5a9f2344ecda67e5817893f5 (diff) |
Join pjproject worker thread before freeing config struct
Diffstat (limited to 'src/Erebos/ICE/pjproject.h')
-rw-r--r-- | src/Erebos/ICE/pjproject.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Erebos/ICE/pjproject.h b/src/Erebos/ICE/pjproject.h index e4fcbdb..1d20891 100644 --- a/src/Erebos/ICE/pjproject.h +++ b/src/Erebos/ICE/pjproject.h @@ -3,11 +3,11 @@ #include <pjnath.h> #include <HsFFI.h> -pj_ice_strans_cfg * ice_cfg_create( const char * stun_server, uint16_t stun_port, +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( pj_ice_strans_cfg * cfg ); +void ice_cfg_free( struct erebos_ice_cfg * cfg ); -pj_ice_strans * ice_create( const pj_ice_strans_cfg *, pj_ice_sess_role role, +pj_ice_strans * ice_create( const struct erebos_ice_cfg *, pj_ice_sess_role role, HsStablePtr sptr, HsStablePtr cb ); void ice_destroy(pj_ice_strans * strans); |