Ignore:
Timestamp:
May 19, 2009 2:25:41 PM (10 years ago)
Author:
bennylp
Message:

Ticket #857: Support for ICE keep-alive with Binding indication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/sipit24/pjnath/include/pjnath/config.h

    r2714 r2717  
    370370/** 
    371371 * Minimum interval value to be used for sending STUN keep-alive on the ICE 
    372  * stream transport, in seconds. This minimum interval, plus a random value 
    373  * which maximum is PJ_ICE_ST_KEEP_ALIVE_MAX_RAND, specify the actual interval 
     372 * session, in seconds. This minimum interval, plus a random value 
     373 * which maximum is PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND, specify the actual interval 
    374374 * of the STUN keep-alive. 
    375375 * 
    376  * Default: 20 seconds 
    377  * 
    378  * @see PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
    379  */ 
    380 #ifndef PJ_ICE_ST_KEEP_ALIVE_MIN 
    381 #   define PJ_ICE_ST_KEEP_ALIVE_MIN                 20 
    382 #endif 
    383  
     376 * Default: 15 seconds 
     377 * 
     378 * @see PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 
     379 */ 
     380#ifndef PJ_ICE_SESS_KEEP_ALIVE_MIN 
     381#   define PJ_ICE_SESS_KEEP_ALIVE_MIN               20 
     382#endif 
     383 
     384/* Warn about deprecated macro */ 
     385#ifdef PJ_ICE_ST_KEEP_ALIVE_MIN 
     386#   error PJ_ICE_ST_KEEP_ALIVE_MIN is deprecated 
     387#endif 
    384388 
    385389/** 
    386390 * To prevent STUN keep-alives to be sent simultaneously, application should 
    387  * add random interval to minimum interval (PJ_ICE_ST_KEEP_ALIVE_MIN). This 
     391 * add random interval to minimum interval (PJ_ICE_SESS_KEEP_ALIVE_MIN). This 
    388392 * setting specifies the maximum random value to be added to the minimum 
    389393 * interval, in seconds. 
     
    391395 * Default: 5 seconds 
    392396 * 
    393  * @see PJ_ICE_ST_KEEP_ALIVE_MIN 
    394  */ 
    395 #ifndef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
    396 #   define PJ_ICE_ST_KEEP_ALIVE_MAX_RAND            5 
     397 * @see PJ_ICE_SESS_KEEP_ALIVE_MIN 
     398 */ 
     399#ifndef PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 
     400#   define PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND          5 
     401#endif 
     402 
     403/* Warn about deprecated macro */ 
     404#ifdef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
     405#   error PJ_ICE_ST_KEEP_ALIVE_MAX_RAND is deprecated 
    397406#endif 
    398407 
Note: See TracChangeset for help on using the changeset viewer.