Ignore:
Timestamp:
Oct 24, 2011 9:28:13 AM (12 years ago)
Author:
ming
Message:

Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h

    r3780 r3841  
    4444    unsigned             idx;       /**< This media index in parent call.   */ 
    4545    pjsua_call_media_status state;  /**< Media state.                       */ 
     46    pjsua_call_media_status prev_state;/**< Previous media state.           */ 
    4647    pjmedia_dir          dir;       /**< Media direction.                   */ 
    4748 
     
    7980    pj_bool_t            tp_auto_del; /**< May delete media transport       */ 
    8081    pjsua_med_tp_st      tp_st;     /**< Media transport state              */ 
     82    pj_bool_t            use_custom_med_tp;/**< Use custom media transport? */ 
    8183    pj_sockaddr          rtp_addr;  /**< Current RTP source address 
    8284                                            (used to update ICE default 
     
    131133    pjsua_call_hold_type call_hold_type; /**< How to do call hold.          */ 
    132134    pj_bool_t            local_hold;/**< Flag for call-hold by local.       */ 
     135    void                *hold_msg;  /**< Outgoing hold tx_data.             */ 
    133136 
    134137    unsigned             med_cnt;   /**< Number of media in SDP.            */ 
     
    581584 * Shutdown presence. 
    582585 */ 
    583 void pjsua_pres_shutdown(void); 
     586void pjsua_pres_shutdown(unsigned flags); 
    584587 
    585588/** 
     
    596599 *  Send un-PUBLISH 
    597600 */ 
    598 void pjsua_pres_unpublish(pjsua_acc *acc); 
     601void pjsua_pres_unpublish(pjsua_acc *acc, unsigned flags); 
    599602 
    600603/** 
    601604 * Terminate server subscription for the account  
    602605 */ 
    603 void pjsua_pres_delete_acc(int acc_id); 
     606void pjsua_pres_delete_acc(int acc_id, unsigned flags); 
    604607 
    605608/** 
     
    636639 * Destroy pjsua media subsystem. 
    637640 */ 
    638 pj_status_t pjsua_media_subsys_destroy(void); 
     641pj_status_t pjsua_media_subsys_destroy(unsigned flags); 
    639642 
    640643/** 
Note: See TracChangeset for help on using the changeset viewer.