Changeset 2724 for pjproject/trunk/pjnath/include/pjnath/config.h
- Timestamp:
- May 29, 2009 1:04:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/config.h
r2642 r2724 260 260 #define PJ_ICE_MAX_COMP (2<<PJ_ICE_COMP_BITS) 261 261 262 /** 263 * Use the priority value according to the ice-draft. 264 */ 265 #ifndef PJNATH_ICE_PRIO_STD 266 # define PJNATH_ICE_PRIO_STD 1 267 #endif 268 262 269 263 270 /** … … 265 272 */ 266 273 #ifndef PJ_ICE_CAND_TYPE_PREF_BITS 267 # define PJ_ICE_CAND_TYPE_PREF_BITS 2 274 # if PJNATH_ICE_PRIO_STD 275 # define PJ_ICE_CAND_TYPE_PREF_BITS 8 276 # else 277 # define PJ_ICE_CAND_TYPE_PREF_BITS 2 278 # endif 268 279 #endif 269 280 … … 325 336 326 337 /** 338 * For a controlled agent, specify how long it wants to wait (in milliseconds) 339 * for the controlling agent to complete sending connectivity check with 340 * nominated flag set to true for all components after the controlled agent 341 * has found that all connectivity checks in its checklist have been completed 342 * and there is at least one successful (but not nominated) check for every 343 * component. 344 * 345 * When selecting the value, bear in mind that the connectivity check from 346 * controlling agent may be delayed because of delay in receiving SDP answer 347 * from the controlled agent. 348 * 349 * Application may set this value to -1 to disable this timer. 350 * 351 * Default: 10000 (milliseconds) 352 */ 353 #ifndef ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT 354 # define ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT 10000 355 #endif 356 357 358 /** 359 * For controlling agent if it uses regular nomination, specify the delay to 360 * perform nominated check (connectivity check with USE-CANDIDATE attribute) 361 * after all components have a valid pair. 362 * 363 * Default: 4*PJ_STUN_RTO_VALUE (milliseconds) 364 */ 365 #ifndef PJ_ICE_NOMINATED_CHECK_DELAY 366 # define PJ_ICE_NOMINATED_CHECK_DELAY (4*PJ_STUN_RTO_VALUE) 367 #endif 368 369 370 /** 327 371 * Minimum interval value to be used for sending STUN keep-alive on the ICE 328 * s tream transport, in seconds. This minimum interval, plus a random value329 * which maximum is PJ_ICE_S T_KEEP_ALIVE_MAX_RAND, specify the actual interval372 * session, in seconds. This minimum interval, plus a random value 373 * which maximum is PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND, specify the actual interval 330 374 * of the STUN keep-alive. 331 375 * 332 * Default: 20 seconds 333 * 334 * @see PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 335 */ 336 #ifndef PJ_ICE_ST_KEEP_ALIVE_MIN 337 # define PJ_ICE_ST_KEEP_ALIVE_MIN 20 338 #endif 339 376 * Default: 15 seconds 377 * 378 * @see PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 379 */ 380 #ifndef PJ_ICE_SESS_KEEP_ALIVE_MIN 381 # define PJ_ICE_SESS_KEEP_ALIVE_MIN 20 382 #endif 383 384 /* Warn about deprecated macro */ 385 #ifdef PJ_ICE_ST_KEEP_ALIVE_MIN 386 # error PJ_ICE_ST_KEEP_ALIVE_MIN is deprecated 387 #endif 340 388 341 389 /** 342 390 * To prevent STUN keep-alives to be sent simultaneously, application should 343 * add random interval to minimum interval (PJ_ICE_S T_KEEP_ALIVE_MIN). This391 * add random interval to minimum interval (PJ_ICE_SESS_KEEP_ALIVE_MIN). This 344 392 * setting specifies the maximum random value to be added to the minimum 345 393 * interval, in seconds. … … 347 395 * Default: 5 seconds 348 396 * 349 * @see PJ_ICE_ST_KEEP_ALIVE_MIN 350 */ 351 #ifndef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 352 # define PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 5 397 * @see PJ_ICE_SESS_KEEP_ALIVE_MIN 398 */ 399 #ifndef PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 400 # define PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 5 401 #endif 402 403 /* Warn about deprecated macro */ 404 #ifdef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 405 # error PJ_ICE_ST_KEEP_ALIVE_MAX_RAND is deprecated 353 406 #endif 354 407
Note: See TracChangeset
for help on using the changeset viewer.