Ignore:
Timestamp:
Jun 8, 2016 3:17:45 AM (8 years ago)
Author:
nanang
Message:

Re #422: Added IPv6 support to PJNATH, changes:

  • Deprecated 'pj_ice_strans_cfg.af', if set, the value will be ignored, address family setting is now specified via transport setting, i.e: 'pj_ice_strans_cfg.stun_tp/turn_tp'.
  • Deprecated 'pj_ice_strans_cfg.stun/turn', for backward compatibility, this field value will be checked if 'pj_ice_strans_cfg.stun_tp_cnt/turn_tp_cnt' is set to zero.
  • Added 'pj_ice_strans_stun_cfg' & 'pj_ice_strans_stun_cfg' and the corresponding 'pj_ice_strans_stun/turn_cfg_default()'
  • Added 'pj_ice_strans_cfg.stun_tp/turn_tp' as replacement of 'pj_ice_strans_cfg.stun/turn', it is now an array so app can have multiple STUN/TURN transports.
  • Added macro PJ_ICE_MAX_STUN/TURN to specify maximum number of STUN/TURN transports in each ICE component in compile-time.
  • Miscellaneous: fixed socket number limit in concurrency test in pjnath-test, updated pjsua_media.c to use new 'pj_ice_strans_cfg' setting.
File:
1 edited

Legend:

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

    r4898 r5339  
    2727#define WORKER_THREAD_CNT       4 
    2828#define SERVER_THREAD_CNT       4 
    29 #define MAX_SOCK_CLIENTS        80 
     29#define MAX_SOCK_CLIENTS        (PJ_IOQUEUE_MAX_HANDLES/2) 
    3030 
    3131struct stun_test_session 
     
    220220    } 
    221221 
     222    /* Give some time to ioqueue to free sockets */ 
     223    pj_thread_sleep(PJ_IOQUEUE_KEY_FREE_DELAY); 
     224 
    222225    return 0; 
    223226} 
Note: See TracChangeset for help on using the changeset viewer.