Changeset 487 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Jun 1, 2006 12:28:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r482 r487 144 144 unsigned conf_ports; 145 145 146 /** Number of worker threads ( default: 1) */146 /** Number of worker threads (value >=0, default: 1) */ 147 147 unsigned thread_cnt; 148 149 /** Separate ioqueue for media? (default: yes) */ 150 pj_bool_t media_has_ioqueue; 151 152 /** Number of worker thread for media (value >=0, default: 1) */ 153 unsigned media_thread_cnt; 148 154 149 155 /** First STUN server IP address. When STUN is configured, then the … … 360 366 pj_str_t status_text; 361 367 pj_bool_t monitor; 368 int acc_index; 362 369 }; 363 370 … … 440 447 441 448 /** 449 * Poll pjsua. 450 */ 451 PJ_DECL(int) pjsua_handle_events(unsigned msec_timeout); 452 453 454 /** 442 455 * Get SIP endpoint instance. 443 456 * Only valid after pjsua_init(). … … 559 572 */ 560 573 PJ_DECL(void) pjsua_call_hangup_all(void); 574 575 576 /** 577 * Dump call and media statistics to string. 578 */ 579 PJ_DECL(void) pjsua_dump_call(int call_index, int with_media, 580 char *buffer, unsigned maxlen, 581 const char *indent); 561 582 562 583 … … 599 620 * this will start unregistration process. 600 621 */ 601 PJ_DECL( void) pjsua_acc_set_registration(unsigned acc_index, pj_bool_t renew);622 PJ_DECL(pj_status_t) pjsua_acc_set_registration(unsigned acc_index, pj_bool_t renew); 602 623 603 624 … … 638 659 * Refresh both presence client and server subscriptions. 639 660 */ 640 PJ_DECL(void) pjsua_pres_refresh( int acc_index);661 PJ_DECL(void) pjsua_pres_refresh(void); 641 662 642 663 /** … … 713 734 * Get conference port associated with player. 714 735 */ 715 PJ_DECL( unsigned) pjsua_player_get_conf_port(pjsua_player_id id);736 PJ_DECL(int) pjsua_player_get_conf_port(pjsua_player_id id); 716 737 717 738 … … 740 761 * Get conference port associated with recorder. 741 762 */ 742 PJ_DECL( unsigned) pjsua_recorder_get_conf_port(pjsua_recorder_id id);763 PJ_DECL(int) pjsua_recorder_get_conf_port(pjsua_recorder_id id); 743 764 744 765
Note: See TracChangeset
for help on using the changeset viewer.