Changeset 2756 for pjproject/trunk/pjsip/include/pjsip/sip_config.h
- Timestamp:
- Jun 8, 2009 3:30:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r2754 r2756 234 234 * as TCP. 235 235 * 236 * Disable the behavior of automatic switching to TCP whenever UDP packet 237 * size exceeds the threshold defined in PJSIP_UDP_SIZE_THRESHOLD. 238 * 239 * Default is 0 (no). 240 */ 241 #ifndef PJSIP_DONT_SWITCH_TO_TCP 242 # define PJSIP_DONT_SWITCH_TO_TCP 0 243 #endif 244 245 246 /** 236 247 * This setting controls the threshold of the UDP packet, which if it's 237 * larger than this value the request will be sent with TCP. Default is 238 * 1300 bytes. 248 * larger than this value the request will be sent with TCP. This setting 249 * is useful only when PJSIP_DONT_SWITCH_TO_TCP is set to 0. 250 * 251 * Default is 1300 bytes. 239 252 */ 240 253 #ifndef PJSIP_UDP_SIZE_THRESHOLD 241 254 # define PJSIP_UDP_SIZE_THRESHOLD 1300 242 255 #endif 256 243 257 244 258 /**
Note: See TracChangeset
for help on using the changeset viewer.