Ignore:
Timestamp:
Nov 23, 2006 7:32:13 AM (17 years ago)
Author:
bennylp
Message:

Worked on the AEC. Apply constant delay bufferring for the AEC,
and also consider sound device latency when applying EC. It
sounds like working although it still doesn't perfectly cancel
the echo.

EC is now by default enabled in PJSUA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r813 r822  
    22162216 */ 
    22172217#ifndef PJSUA_MAX_CONF_PORTS 
    2218 #   define PJSUA_MAX_CONF_PORTS     254 
     2218#   define PJSUA_MAX_CONF_PORTS         254 
    22192219#endif 
    22202220 
    2221 #define PJSUA_DEFAULT_CLOCK_RATE    16000 
    2222 #define PJSUA_DEFAULT_CODEC_QUALITY 5 
    2223 #define PJSUA_DEFAULT_ILBC_MODE     20 
    2224 #define PJSUA_DEFAULT_EC_TAIL_LEN   0 
     2221#ifndef PJSUA_DEFAULT_CLOCK_RATE 
     2222#   define PJSUA_DEFAULT_CLOCK_RATE     16000 
     2223#endif 
     2224 
     2225#ifndef PJSUA_DEFAULT_CODEC_QUALITY 
     2226#   define PJSUA_DEFAULT_CODEC_QUALITY  5 
     2227#endif 
     2228 
     2229#ifndef PJSUA_DEFAULT_ILBC_MODE 
     2230#   define PJSUA_DEFAULT_ILBC_MODE      20 
     2231#endif 
     2232 
     2233 
     2234#ifndef PJSUA_DEFAULT_EC_TAIL_LEN 
     2235#   define PJSUA_DEFAULT_EC_TAIL_LEN    600 
     2236#endif 
    22252237 
    22262238 
Note: See TracChangeset for help on using the changeset viewer.