Changeset 2724 for pjproject/trunk/pjnath/include/pjnath/ice_strans.h
- Timestamp:
- May 29, 2009 1:04:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/ice_strans.h
r2642 r2724 198 198 199 199 /** 200 * This contains various STUN session options. Once the ICE stream 201 * transport is created, application may also change the options 202 * with #pj_ice_strans_set_options(). 203 */ 204 pj_ice_sess_options opt; 205 206 /** 200 207 * STUN and local transport settings. This specifies the 201 208 * settings for local UDP socket, which will be resolved … … 210 217 211 218 /** 212 * Disable host candidates. When this option is set, no213 * host candidates will be added.214 * 215 * Default: PJ_FALSE216 */ 217 pj_bool_t no_host_cands;219 * Maximum number of host candidates to be added. If the 220 * value is zero, no host candidates will be added. 221 * 222 * Default: 64 223 */ 224 unsigned max_host_cands; 218 225 219 226 /** … … 384 391 */ 385 392 PJ_DECL(void*) pj_ice_strans_get_user_data(pj_ice_strans *ice_st); 393 394 395 /** 396 * Get the value of various options of the ICE stream transport. 397 * 398 * @param ice_st The ICE stream transport. 399 * @param opt The options to be initialized with the values 400 * from the ICE stream transport. 401 * 402 * @return PJ_SUCCESS on success, or the appropriate error. 403 */ 404 PJ_DECL(pj_status_t) pj_ice_strans_get_options(pj_ice_strans *ice_st, 405 pj_ice_sess_options *opt); 406 407 /** 408 * Specify various options for this ICE stream transport. Application 409 * should call #pj_ice_strans_get_options() to initialize the options 410 * with their default values. 411 * 412 * @param ice_st The ICE stream transport. 413 * @param opt Options to be applied to this ICE stream transport. 414 * 415 * @return PJ_SUCCESS on success, or the appropriate error. 416 */ 417 PJ_DECL(pj_status_t) pj_ice_strans_set_options(pj_ice_strans *ice_st, 418 const pj_ice_sess_options *opt); 386 419 387 420
Note: See TracChangeset
for help on using the changeset viewer.