Ignore:
Timestamp:
Jun 6, 2008 2:47:10 PM (16 years ago)
Author:
bennylp
Message:

Major major modifications related to ticket #485 (support for TURN-07):

  • Added STUN socket transport pj_stun_sock
  • Integration of TURN-07 to ICE
  • Major refactoring in ICE stream transport to make it simpler
  • Major modification (i.e. API change) in almost everywhere else
  • Much more elaborate STUN, TURN, and ICE tests in pjnath-test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/test.h

    r1877 r1988  
    2323#define INCLUDE_STUN_TEST           1 
    2424#define INCLUDE_ICE_TEST            1 
     25#define INCLUDE_STUN_SOCK_TEST      1 
     26#define INCLUDE_TURN_SOCK_TEST      1 
    2527 
    2628int stun_test(void); 
    2729int sess_auth_test(void); 
     30int stun_sock_test(void); 
     31int turn_sock_test(void); 
    2832int ice_test(void); 
    2933int test_main(void); 
     
    3236extern pj_pool_factory *mem; 
    3337 
     38//////////////////////////////////// 
     39/* 
     40 * Utilities 
     41 */ 
     42pj_status_t create_stun_config(pj_pool_t *pool, pj_stun_config *stun_cfg); 
     43void destroy_stun_config(pj_stun_config *stun_cfg); 
     44 
     45void poll_events(pj_stun_config *stun_cfg, unsigned msec, 
     46                 pj_bool_t first_event_only); 
     47 
     48typedef struct pjlib_state 
     49{ 
     50    unsigned    timer_cnt;      /* Number of timer entries */ 
     51    unsigned    pool_used_cnt;  /* Number of app pools      */ 
     52} pjlib_state; 
     53 
     54 
     55void capture_pjlib_state(pj_stun_config *cfg, struct pjlib_state *st); 
     56int check_pjlib_state(pj_stun_config *cfg,  
     57                      const struct pjlib_state *initial_st); 
     58 
     59 
     60#define ERR_MEMORY_LEAK     1 
     61#define ERR_TIMER_LEAK      2 
     62 
Note: See TracChangeset for help on using the changeset viewer.