Ignore:
Timestamp:
Jul 5, 2012 10:52:55 AM (7 years ago)
Author:
nanang
Message:

Re: Added compile-time setting PJNATH_STUN_SOFTWARE_NAME to specify SOFTWARE attribute for STUN sessions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_config.h

    r3553 r4199  
    8282    unsigned             res_cache_msec; 
    8383 
     84    /** 
     85     * Software name to be included in all STUN requests and responses. 
     86     * 
     87     * Default: PJNATH_STUN_SOFTWARE_NAME. 
     88     */ 
     89    pj_str_t             software_name; 
     90 
    8491} pj_stun_config; 
    8592 
     
    103110    cfg->rto_msec = PJ_STUN_RTO_VALUE; 
    104111    cfg->res_cache_msec = PJ_STUN_RES_CACHE_DURATION; 
     112    cfg->software_name = pj_str((char*)PJNATH_STUN_SOFTWARE_NAME); 
    105113} 
    106114 
Note: See TracChangeset for help on using the changeset viewer.