BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJNATH Reference

#include <stun_config.h>

Data Fields

pj_pool_factorypf
 
pj_ioqueue_tioqueue
 
pj_timer_heap_ttimer_heap
 
unsigned options
 
unsigned rto_msec
 
unsigned res_cache_msec
 
pj_str_t software_name
 

Detailed Description

STUN configuration.

Field Documentation

◆ ioqueue

pj_ioqueue_t* pj_stun_config::ioqueue

◆ options

unsigned pj_stun_config::options

Options.

Referenced by pj_stun_config_init().

◆ pf

pj_pool_factory* pj_stun_config::pf

Pool factory to be used.

Referenced by pj_stun_config_check_valid(), and pj_stun_config_init().

◆ res_cache_msec

unsigned pj_stun_config::res_cache_msec

The interval to cache outgoing STUN response in the STUN session, in miliseconds.

Default 10000 (10 seconds).

Referenced by pj_stun_config_check_valid(), and pj_stun_config_init().

◆ rto_msec

unsigned pj_stun_config::rto_msec

The default initial STUN round-trip time estimation in msecs. The value normally is PJ_STUN_RTO_VALUE.

Referenced by pj_stun_config_check_valid(), and pj_stun_config_init().

◆ software_name

pj_str_t pj_stun_config::software_name

Software name to be included in all STUN requests and responses.

Default: PJNATH_STUN_SOFTWARE_NAME.

Referenced by pj_stun_config_init().

◆ timer_heap

pj_timer_heap_t* pj_stun_config::timer_heap

Timer heap instance.

Referenced by pj_stun_config_check_valid(), and pj_stun_config_init().


The documentation for this struct was generated from the following file:

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.