Ignore:
Timestamp:
Apr 3, 2007 6:01:27 PM (17 years ago)
Author:
bennylp
Message:

Fixed misc bugs with ICE: (1) moved STUN session from candidate to component since it causes STUN response to wrong session, and (2) keep-alive transaction timed-out when ICE is active

File:
1 edited

Legend:

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

    r1126 r1140  
    165165 
    166166 
     167/** 
     168 * Minimum interval value to be used for sending STUN keep-alive on the ICE 
     169 * stream transport, in seconds. This minimum interval, plus a random value 
     170 * which maximum is PJ_ICE_ST_KEEP_ALIVE_MAX_RAND, specify the actual interval 
     171 * of the STUN keep-alive. 
     172 * 
     173 * Default: 20 seconds 
     174 * 
     175 * @see PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
     176 */ 
     177#ifndef PJ_ICE_ST_KEEP_ALIVE_MIN 
     178#   define PJ_ICE_ST_KEEP_ALIVE_MIN                 20 
     179#endif 
     180 
     181 
     182/** 
     183 * To prevent STUN keep-alives to be sent simultaneously, application should 
     184 * add random interval to minimum interval (PJ_ICE_ST_KEEP_ALIVE_MIN). This 
     185 * setting specifies the maximum random value to be added to the minimum 
     186 * interval, in seconds. 
     187 * 
     188 * Default: 5 seconds 
     189 * 
     190 * @see PJ_ICE_ST_KEEP_ALIVE_MIN 
     191 */ 
     192#ifndef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
     193#   define PJ_ICE_ST_KEEP_ALIVE_MAX_RAND            5 
     194#endif 
     195 
     196 
     197 
    167198 
    168199/** 
Note: See TracChangeset for help on using the changeset viewer.