Changeset 1110 for pjproject/trunk/pjnath/include/pjnath/stun_msg.h
- Timestamp:
- Mar 27, 2007 11:29:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_msg.h
r1101 r1110 40 40 */ 41 41 42 43 /**44 * The default initial STUN round-trip time estimation (the RTO value45 * in RFC 3489-bis), in miliseconds.46 * This value is used to control the STUN request47 * retransmit time. The initial value of retransmission interval48 * would be set to this value, and will be doubled after each49 * retransmission.50 */51 #ifndef PJ_STUN_RTO_VALUE52 # define PJ_STUN_RTO_VALUE 10053 #endif54 55 56 /**57 * The STUN transaction timeout value, in miliseconds.58 * After the last retransmission is sent and if no response is received59 * after this time, the STUN transaction will be considered to have failed.60 *61 * The default value is 1600 miliseconds (as per RFC 3489-bis).62 */63 #ifndef PJ_STUN_TIMEOUT_VALUE64 # define PJ_STUN_TIMEOUT_VALUE 160065 #endif66 67 68 /**69 * Maximum number of STUN retransmission count.70 *71 * Default: 7 (as per RFC 3489-bis)72 */73 #ifndef PJ_STUN_MAX_RETRANSMIT_COUNT74 # define PJ_STUN_MAX_RETRANSMIT_COUNT 775 #endif76 77 78 /**79 * Maximum size of STUN message.80 */81 #ifndef PJ_STUN_MAX_PKT_LEN82 # define PJ_STUN_MAX_PKT_LEN 51283 #endif84 85 86 /**87 * Default STUN port as defined by RFC 3489.88 */89 #define PJ_STUN_PORT 347890 42 91 43 /**
Note: See TracChangeset
for help on using the changeset viewer.