Ignore:
Timestamp:
Feb 10, 2006 3:57:32 PM (18 years ago)
Author:
bennylp
Message:

Integrated pjmedia-codec library to pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua/pjsua_core.c

    r175 r177  
    467467    } 
    468468 
     469    /* Init pjmedia-codecs: */ 
     470 
     471    status = pjmedia_codec_init(pjsua.med_endpt); 
     472    if (status != PJ_SUCCESS) { 
     473        pj_caching_pool_destroy(&pjsua.cp); 
     474        pjsua_perror("Media codec initialization has returned error", status); 
     475        return status; 
     476    } 
     477 
     478 
    469479    /* Done. */ 
    470480    return PJ_SUCCESS; 
     
    664674    pjsua.quit_flag = 1; 
    665675 
     676 
     677    /* Shutdown pjmedia-codec: */ 
     678 
     679    pjmedia_codec_deinit(); 
     680 
     681 
    666682    /* Destroy sound framework:  
    667683     * (this should be done in pjmedia_shutdown()) 
Note: See TracChangeset for help on using the changeset viewer.