Ignore:
Timestamp:
May 17, 2009 5:57:19 PM (15 years ago)
Author:
bennylp
Message:

Ticket #851: initial code to support regular nomination in ICE:

  • Added option to change nomination strategy in ICE strans and session. Default is still aggressive.
  • Added option to control nomination timer
  • Renamed no_host_cand to max_host_cands in ICE config
  • Updated icedemo
  • Also added timer for controlled agent to wait for nomination from controlling agent
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/sipit24/pjnath/include/pjnath/config.h

    r2642 r2705  
    325325 
    326326/** 
     327 * For a controlled agent, specify how long it wants to wait (in milliseconds) 
     328 * for the controlling agent to complete sending connectivity check with 
     329 * nominated flag set to true for all components after the controlled agent 
     330 * has found that all connectivity checks in its checklist have been completed 
     331 * and there is at least one successful (but not nominated) check for every 
     332 * component. 
     333 * 
     334 * When selecting the value, bear in mind that the connectivity check from 
     335 * controlling agent may be delayed because of delay in receiving SDP answer 
     336 * from the controlled agent. 
     337 * 
     338 * Application may set this value to -1 to disable this timer. 
     339 * 
     340 * Default: 10000 (milliseconds) 
     341 */ 
     342#ifndef ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT 
     343#   define ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT 10000 
     344#endif 
     345 
     346 
     347/** 
     348 * For controlling agent if it uses regular nomination, specify the delay to 
     349 * perform nominated check (connectivity check with USE-CANDIDATE attribute) 
     350 * after all components have a valid pair. 
     351 * 
     352 * Default: 4*PJ_STUN_RTO_VALUE (milliseconds) 
     353 */ 
     354#ifndef PJ_ICE_NOMINATED_CHECK_DELAY 
     355#   define PJ_ICE_NOMINATED_CHECK_DELAY             (4*PJ_STUN_RTO_VALUE) 
     356#endif 
     357 
     358 
     359/** 
    327360 * Minimum interval value to be used for sending STUN keep-alive on the ICE 
    328361 * stream transport, in seconds. This minimum interval, plus a random value 
Note: See TracChangeset for help on using the changeset viewer.