Changeset 2945 for pjproject/trunk/pjnath/include/pjnath/ice_strans.h
- Timestamp:
- Oct 14, 2009 1:13:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/ice_strans.h
r2724 r2945 328 328 329 329 330 /** 331 * ICE stream transport's state. 332 */ 333 typedef enum pj_ice_strans_state 334 { 335 /** 336 * ICE stream transport is not created. 337 */ 338 PJ_ICE_STRANS_STATE_NULL, 339 340 /** 341 * ICE candidate gathering process is in progress. 342 */ 343 PJ_ICE_STRANS_STATE_INIT, 344 345 /** 346 * ICE stream transport initialization/candidate gathering process is 347 * complete, ICE session may be created on this stream transport. 348 */ 349 PJ_ICE_STRANS_STATE_READY, 350 351 /** 352 * New session has been created and the session is ready. 353 */ 354 PJ_ICE_STRANS_STATE_SESS_READY, 355 356 /** 357 * ICE negotiation is in progress. 358 */ 359 PJ_ICE_STRANS_STATE_NEGO, 360 361 /** 362 * ICE negotiation has completed successfully and media is ready 363 * to be used. 364 */ 365 PJ_ICE_STRANS_STATE_RUNNING, 366 367 /** 368 * ICE negotiation has completed with failure. 369 */ 370 PJ_ICE_STRANS_STATE_FAILED 371 372 } pj_ice_strans_state; 373 374 330 375 /** 331 376 * Initialize ICE transport configuration with default values. … … 370 415 const pj_ice_strans_cb *cb, 371 416 pj_ice_strans **p_ice_st); 417 418 /** 419 * Get ICE session state. 420 * 421 * @param ice_st The ICE stream transport. 422 * 423 * @return ICE session state. 424 */ 425 PJ_DECL(pj_ice_strans_state) pj_ice_strans_get_state(pj_ice_strans *ice_st); 426 427 428 /** 429 * Get string representation of ICE state. 430 * 431 * @param state ICE stream transport state. 432 * 433 * @return String. 434 */ 435 PJ_DECL(const char*) pj_ice_strans_state_name(pj_ice_strans_state state); 436 372 437 373 438 /**
Note: See TracChangeset
for help on using the changeset viewer.