Changeset 1289 for pjproject/trunk/pjnath/src/pjstun-srv-test/turn_usage.c
- Timestamp:
- May 22, 2007 9:55:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjstun-srv-test/turn_usage.c
r1275 r1289 80 80 pj_hash_table_t *client_htable; 81 81 pj_stun_auth_cred *cred; 82 pj_bool_t use_fingerprint; 82 83 83 84 unsigned max_bw_kbps; … … 147 148 const pj_str_t *ip_addr, 148 149 unsigned port, 150 pj_bool_t use_fingerprint, 149 151 pj_stun_usage **p_bu) 150 152 { … … 173 175 tu->max_bw_kbps = 64; 174 176 tu->max_lifetime = 10 * 60; 177 tu->use_fingerprint = use_fingerprint; 175 178 176 179 status = pj_sockaddr_in_init(&local_addr, ip_addr, (pj_uint16_t)port); … … 200 203 sess_cb.on_rx_request = &tu_sess_on_rx_request; 201 204 status = pj_stun_session_create(&si->stun_cfg, "turns%p", &sess_cb, 202 PJ_FALSE, &tu->default_session);205 use_fingerprint, &tu->default_session); 203 206 if (status != PJ_SUCCESS) { 204 207 pj_stun_usage_destroy(tu->usage); … … 638 641 sess_cb.on_rx_indication = &client_sess_on_rx_msg; 639 642 status = pj_stun_session_create(tu->cfg, client->obj_name, 640 &sess_cb, PJ_FALSE,643 &sess_cb, tu->use_fingerprint, 641 644 &client->session); 642 645 if (status != PJ_SUCCESS) {
Note: See TracChangeset
for help on using the changeset viewer.