Changeset 1536 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Oct 31, 2007 1:28:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r1535 r1536 1769 1769 */ 1770 1770 #ifndef PJSUA_REG_INTERVAL 1771 # define PJSUA_REG_INTERVAL 551771 # define PJSUA_REG_INTERVAL 300 1772 1772 #endif 1773 1773 … … 1898 1898 /** 1899 1899 * Optional interval for registration, in seconds. If the value is zero, 1900 * default interval will be used (PJSUA_REG_INTERVAL, 55seconds).1900 * default interval will be used (PJSUA_REG_INTERVAL, 300 seconds). 1901 1901 */ 1902 1902 unsigned reg_timeout; … … 1948 1948 pj_bool_t auto_update_nat; 1949 1949 1950 /** 1951 * Set the interval for periodic keep-alive transmission for this account. 1952 * If this value is zero, keep-alive will be disabled for this account. 1953 * The keep-alive transmission will be sent to the registrar's address, 1954 * after successful registration. 1955 * 1956 * Even if this setting is enabled, keep-alive transmission is only done 1957 * when STUN is enabled in the global #pjsua_config, and the transport 1958 * used for registration is UDP. For TCP and TLS transports, keep-alive 1959 * is done by the transport themselves. 1960 * 1961 * Default: 15 (seconds) 1962 */ 1963 unsigned ka_interval; 1964 1965 /** 1966 * Specify the data to be transmitted as keep-alive packets. 1967 * 1968 * Default: CR-LF 1969 */ 1970 pj_str_t ka_data; 1971 1950 1972 } pjsua_acc_config; 1951 1973 … … 1964 1986 */ 1965 1987 PJ_DECL(void) pjsua_acc_config_default(pjsua_acc_config *cfg); 1988 1989 1990 /** 1991 * Duplicate account config. 1992 * 1993 * @param pool Pool to be used for duplicating the config. 1994 * @param dst Destination configuration. 1995 * @param src Source configuration. 1996 */ 1997 PJ_DECL(void) pjsua_acc_config_dup(pj_pool_t *pool, 1998 pjsua_acc_config *dst, 1999 const pjsua_acc_config *src); 1966 2000 1967 2001
Note: See TracChangeset
for help on using the changeset viewer.