pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJNATH Reference

STUN Config
[Base STUN objects]

STUN config.

Data Structures

struct  pj_stun_config

Functions

void pj_stun_config_init (pj_stun_config *cfg, pj_pool_factory *factory, unsigned options, pj_ioqueue_t *ioqueue, pj_timer_heap_t *timer_heap)
pj_status_t pj_stun_config_check_valid (const pj_stun_config *cfg)

Function Documentation

pj_status_t pj_stun_config_check_valid ( const pj_stun_config cfg  ) 

Check that STUN config is valid.

References PJ_ASSERT_RETURN, PJ_EINVAL, PJ_INLINE, and PJ_SUCCESS.

void pj_stun_config_init ( pj_stun_config cfg,
pj_pool_factory factory,
unsigned  options,
pj_ioqueue_t ioqueue,
pj_timer_heap_t timer_heap 
)

Initialize STUN config.

References pj_bzero(), PJ_INLINE, PJ_STUN_RES_CACHE_DURATION, and PJ_STUN_RTO_VALUE.

 


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