Ignore:
Timestamp:
Mar 22, 2012 11:29:20 AM (9 years ago)
Author:
nanang
Message:

Close #1466 (using PJLIB outside PJSUA-LIB context):

  • static reference counter for PJLIB init/shutdown.
  • implemented atexit() in PJMEDIA and PJSIP level: pjmedia_endpt_atexit() & pjsip_endpt_atexit().
  • updated pjmedia/transport_srtp.c, pjsip/sip_timer.c, and pjsip/sip_replaces.c to use the new atexit() functions.
  • API change: pjmedia_srtp_init_lib() now requires 'pjmedia_endpt' param.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/include/pjmedia/transport_srtp.h

    r3553 r3986  
    201201 * library deinitialization to #pj_atexit(), so the deinitialization 
    202202 * of SRTP library will be performed automatically by PJLIB destructor. 
    203  */ 
    204 PJ_DECL(pj_status_t) pjmedia_srtp_init_lib(void); 
     203 * 
     204 * @param endpt     The media endpoint instance. 
     205 * 
     206 * @return          PJ_SUCCESS on success. 
     207 */ 
     208PJ_DECL(pj_status_t) pjmedia_srtp_init_lib(pjmedia_endpt *endpt); 
    205209 
    206210 
Note: See TracChangeset for help on using the changeset viewer.