Ignore:
Timestamp:
Jun 1, 2006 12:28:44 PM (18 years ago)
Author:
bennylp
Message:

Initial work on pjsua ActiveX component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r482 r487  
    144144    unsigned    conf_ports; 
    145145 
    146     /** Number of worker threads (default: 1) */ 
     146    /** Number of worker threads (value >=0, default: 1) */ 
    147147    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; 
    148154 
    149155    /** First STUN server IP address. When STUN is configured, then the 
     
    360366    pj_str_t            status_text; 
    361367    pj_bool_t           monitor; 
     368    int                 acc_index; 
    362369}; 
    363370 
     
    440447 
    441448/** 
     449 * Poll pjsua. 
     450 */ 
     451PJ_DECL(int) pjsua_handle_events(unsigned msec_timeout); 
     452 
     453 
     454/** 
    442455 * Get SIP endpoint instance. 
    443456 * Only valid after pjsua_init(). 
     
    559572 */ 
    560573PJ_DECL(void) pjsua_call_hangup_all(void); 
     574 
     575 
     576/** 
     577 * Dump call and media statistics to string. 
     578 */ 
     579PJ_DECL(void) pjsua_dump_call(int call_index, int with_media,  
     580                              char *buffer, unsigned maxlen, 
     581                              const char *indent); 
    561582 
    562583 
     
    599620 * this will start unregistration process. 
    600621 */ 
    601 PJ_DECL(void) pjsua_acc_set_registration(unsigned acc_index, pj_bool_t renew); 
     622PJ_DECL(pj_status_t) pjsua_acc_set_registration(unsigned acc_index, pj_bool_t renew); 
    602623 
    603624 
     
    638659 * Refresh both presence client and server subscriptions. 
    639660 */ 
    640 PJ_DECL(void) pjsua_pres_refresh(int acc_index); 
     661PJ_DECL(void) pjsua_pres_refresh(void); 
    641662 
    642663/** 
     
    713734 * Get conference port associated with player. 
    714735 */ 
    715 PJ_DECL(unsigned) pjsua_player_get_conf_port(pjsua_player_id id); 
     736PJ_DECL(int) pjsua_player_get_conf_port(pjsua_player_id id); 
    716737 
    717738 
     
    740761 * Get conference port associated with recorder. 
    741762 */ 
    742 PJ_DECL(unsigned) pjsua_recorder_get_conf_port(pjsua_recorder_id id); 
     763PJ_DECL(int) pjsua_recorder_get_conf_port(pjsua_recorder_id id); 
    743764 
    744765 
Note: See TracChangeset for help on using the changeset viewer.