Ignore:
Timestamp:
Jun 6, 2008 2:47:10 PM (16 years ago)
Author:
bennylp
Message:

Major major modifications related to ticket #485 (support for TURN-07):

  • Added STUN socket transport pj_stun_sock
  • Integration of TURN-07 to ICE
  • Major refactoring in ICE stream transport to make it simpler
  • Major modification (i.e. API change) in almost everywhere else
  • Much more elaborate STUN, TURN, and ICE tests in pjnath-test
File:
1 edited

Legend:

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

    r1654 r1988  
    143143 
    144144/* ************************************************************************** 
     145 * STUN TRANSPORT CONFIGURATION 
     146 */ 
     147 
     148/** 
     149 * The packet buffer size for the STUN transport. 
     150 */ 
     151#ifndef PJ_STUN_SOCK_PKT_LEN 
     152#   define PJ_STUN_SOCK_PKT_LEN                     2000 
     153#endif 
     154 
     155 
     156/** 
     157 * The duration of the STUN keep-alive period, in seconds. 
     158 */ 
     159#ifndef PJ_STUN_KEEP_ALIVE_SEC 
     160#   define PJ_STUN_KEEP_ALIVE_SEC                   15 
     161#endif 
     162 
     163 
     164/* ************************************************************************** 
     165 * TURN CONFIGURATION 
     166 */ 
     167 
     168/** 
     169 * Maximum DNS SRV entries to be processed in the DNS SRV response 
     170 */ 
     171#ifndef PJ_TURN_MAX_DNS_SRV_CNT 
     172#   define PJ_TURN_MAX_DNS_SRV_CNT                  4 
     173#endif 
     174 
     175 
     176/** 
     177 * Maximum TURN packet size to be supported. 
     178 */ 
     179#ifndef PJ_TURN_MAX_PKT_LEN 
     180#   define PJ_TURN_MAX_PKT_LEN                      3000 
     181#endif 
     182 
     183 
     184/** 
     185 * The TURN permission lifetime setting. This value should be taken from the 
     186 * TURN protocol specification. 
     187 */ 
     188#ifndef PJ_TURN_PERM_TIMEOUT 
     189#   define PJ_TURN_PERM_TIMEOUT                     300 
     190#endif 
     191 
     192 
     193/** 
     194 * The TURN channel binding lifetime. This value should be taken from the 
     195 * TURN protocol specification. 
     196 */ 
     197#ifndef PJ_TURN_CHANNEL_TIMEOUT 
     198#   define PJ_TURN_CHANNEL_TIMEOUT                  600 
     199#endif 
     200 
     201 
     202/** 
     203 * Number of seconds to refresh the permission/channel binding before the  
     204 * permission/channel binding expires. This value should be greater than  
     205 * PJ_TURN_PERM_TIMEOUT setting. 
     206 */ 
     207#ifndef PJ_TURN_REFRESH_SEC_BEFORE 
     208#   define PJ_TURN_REFRESH_SEC_BEFORE               60 
     209#endif 
     210 
     211 
     212/** 
     213 * The TURN session timer heart beat interval. When this timer occurs, the  
     214 * TURN session will scan all the permissions/channel bindings to see which 
     215 * need to be refreshed. 
     216 */ 
     217#ifndef PJ_TURN_KEEP_ALIVE_SEC 
     218#   define PJ_TURN_KEEP_ALIVE_SEC                   15 
     219#endif 
     220 
     221 
     222/* ************************************************************************** 
    145223 * ICE CONFIGURATION 
    146224 */ 
Note: See TracChangeset for help on using the changeset viewer.