Ignore:
Timestamp:
Aug 2, 2006 7:41:37 PM (18 years ago)
Author:
bennylp
Message:

Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua

File:
1 edited

Legend:

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

    r642 r643  
    970970 
    971971    /* Create AEC if it's not created */ 
    972     if (pjsua_var.aec_port == NULL) { 
     972    if (pjsua_var.aec_port == NULL && pjsua_var.media_cfg.ec_tail_len) { 
    973973        status = pjmedia_aec_port_create(pjsua_var.pool, conf_port, 
    974974                                         conf_port->info.clock_rate *  
     
    985985 
    986986    /* Connect to the AEC port */ 
    987     status = pjmedia_snd_port_connect(pjsua_var.snd_port, pjsua_var.aec_port); 
     987    status = pjmedia_snd_port_connect(pjsua_var.snd_port,  
     988                                      pjsua_var.media_cfg.ec_tail_len ?  
     989                                        pjsua_var.aec_port : conf_port ); 
    988990    if (status != PJ_SUCCESS) { 
    989991        pjsua_perror(THIS_FILE, "Unable to connect conference port to " 
Note: See TracChangeset for help on using the changeset viewer.