Ignore:
Timestamp:
Jun 8, 2016 3:17:45 AM (6 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/include/pjnath/config.h

    r4199 r5339  
    243243#ifndef PJ_ICE_ST_MAX_CAND 
    244244#   define PJ_ICE_ST_MAX_CAND                       8 
     245#endif 
     246 
     247 
     248/** 
     249 * Maximum number of STUN transports for each ICE stream transport component. 
     250 * Valid values are 1 - 64. 
     251 * 
     252 * Default: 2 
     253 */ 
     254#ifndef PJ_ICE_MAX_STUN 
     255#   define PJ_ICE_MAX_STUN                          2 
     256#endif 
     257 
     258 
     259/** 
     260 * Maximum number of TURN transports for each ICE stream transport component. 
     261 * Valid values are 1 - 64. 
     262 * 
     263 * Default: 2 
     264 */ 
     265#ifndef PJ_ICE_MAX_TURN 
     266#   define PJ_ICE_MAX_TURN                          2 
    245267#endif 
    246268 
Note: See TracChangeset for help on using the changeset viewer.