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/ice_strans.h

    r2642 r2705  
    210210 
    211211        /** 
    212          * Disable host candidates. When this option is set, no 
    213          * host candidates will be added. 
    214          * 
    215          * Default: PJ_FALSE 
    216          */ 
    217         pj_bool_t            no_host_cands; 
     212         * Maximum number of host candidates to be added. If the 
     213         * value is zero, no host candidates will be added. 
     214         * 
     215         * Default: 64 
     216         */ 
     217        unsigned             max_host_cands; 
    218218 
    219219        /** 
     
    384384 */ 
    385385PJ_DECL(void*) pj_ice_strans_get_user_data(pj_ice_strans *ice_st); 
     386 
     387 
     388/** 
     389 * Get the value of various options of the ICE stream transport. 
     390 * 
     391 * @param ice_st        The ICE stream transport. 
     392 * @param opt           The options to be initialized with the values 
     393 *                      from the ICE stream transport. 
     394 * 
     395 * @return              PJ_SUCCESS on success, or the appropriate error. 
     396 */ 
     397PJ_DECL(pj_status_t) pj_ice_strans_get_options(pj_ice_strans *ice_st, 
     398                                               pj_ice_sess_options *opt); 
     399 
     400/** 
     401 * Specify various options for this ICE stream transport. Application  
     402 * should call #pj_ice_strans_get_options() to initialize the options  
     403 * with their default values. 
     404 * 
     405 * @param ice_st        The ICE stream transport. 
     406 * @param opt           Options to be applied to this ICE stream transport. 
     407 * 
     408 * @return              PJ_SUCCESS on success, or the appropriate error. 
     409 */ 
     410PJ_DECL(pj_status_t) pj_ice_strans_set_options(pj_ice_strans *ice_st, 
     411                                               const pj_ice_sess_options *opt); 
    386412 
    387413 
Note: See TracChangeset for help on using the changeset viewer.