Ignore:
Timestamp:
Jul 26, 2018 3:05:10 AM (6 years ago)
Author:
ming
Message:

Re #2126: re 5841: move the event manager creation and destruction in pjsua_media instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_aud.c

    r5841 r5842  
    237237    /* To suppress warning about unused var when all codecs are disabled */ 
    238238    PJ_UNUSED_ARG(codec_id); 
    239  
    240     PJ_LOG(4,(THIS_FILE, "Initializing audio subsystem..")); 
    241  
    242     if (!pjmedia_event_mgr_instance()) { 
    243         status = pjmedia_event_mgr_create(pjsua_var.pool, 0, NULL); 
    244         if (status != PJ_SUCCESS) { 
    245             pjsua_perror(THIS_FILE, "Error creating PJMEDIA event manager", 
    246                          status); 
    247             goto on_error; 
    248         } 
    249     } 
    250239 
    251240    /* 
Note: See TracChangeset for help on using the changeset viewer.