Ignore:
Timestamp:
Oct 19, 2011 12:45:05 PM (13 years ago)
Author:
bennylp
Message:

Fixed #1216: New pjsua_destroy2() API to allow shutting down the library without sending any outgoing messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_media.c

    r3816 r3829  
    659659 * Destroy pjsua media subsystem. 
    660660 */ 
    661 pj_status_t pjsua_media_subsys_destroy(void) 
     661pj_status_t pjsua_media_subsys_destroy(unsigned flags) 
    662662{ 
    663663    unsigned i; 
     
    699699        } 
    700700        if (pjsua_var.calls[i].med_tp && pjsua_var.calls[i].med_tp_auto_del) { 
     701            /* TODO: check if we're not allowed to send to network in the 
     702             *       "flags", and if so do not do TURN allocation... 
     703             */ 
     704            PJ_UNUSED_ARG(flags); 
    701705            pjmedia_transport_close(pjsua_var.calls[i].med_tp); 
    702706        } 
Note: See TracChangeset for help on using the changeset viewer.