summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-06 12:07:13 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-06 12:07:13 +0000
commit7d4e5f795015cc061a65f812c0642cfd2891681e (patch)
tree2530a16f89b39b79cc46df59913f261c44f54249 /pjsip
parente597fd48b9586700656f2a5760153ef65790a44b (diff)
Change AEC into generic echo canceller framework with either AEC or simple echo suppressor backend can be selected during runtime.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/docs/PJSUA-TESTING.txt1
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h8
-rw-r--r--pjsip/src/pjsua-lib/pjsua_media.c12
3 files changed, 11 insertions, 10 deletions
diff --git a/pjsip/docs/PJSUA-TESTING.txt b/pjsip/docs/PJSUA-TESTING.txt
index c1fdd645..72fb797e 100644
--- a/pjsip/docs/PJSUA-TESTING.txt
+++ b/pjsip/docs/PJSUA-TESTING.txt
@@ -29,6 +29,7 @@ COMPATIBILITY WITH FWD
MULTIPLE ACCOUNTS (combo.cfg)
+DIGEST with qop=auth (sipcenter?)
AUDIO QUALITY
- call to another pjsua that loops incoming call
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 4ee7aba6..da921c44 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -2502,25 +2502,25 @@ PJ_DECL(pjmedia_port*) pjsua_set_no_snd_dev(void);
/**
- * Configure the AEC settings of the sound port.
+ * Configure the echo canceller tail length of the sound port.
*
* @param tail_ms The tail length, in miliseconds. Set to zero to
* disable AEC.
*
* @return PJ_SUCCESS on success.
*/
-PJ_DECL(pj_status_t) pjsua_set_aec(unsigned tail_ms);
+PJ_DECL(pj_status_t) pjsua_set_ec_tail(unsigned tail_ms);
/**
- * Get current AEC tail length.
+ * Get current echo canceller tail length.
*
* @param p_tail_ms Pointer to receive the tail length, in miliseconds.
* If AEC is disabled, the value will be zero.
*
* @return PJ_SUCCESS on success.
*/
-PJ_DECL(pj_status_t) pjsua_get_aec(unsigned *p_tail_ms);
+PJ_DECL(pj_status_t) pjsua_get_ec_tail(unsigned *p_tail_ms);
diff --git a/pjsip/src/pjsua-lib/pjsua_media.c b/pjsip/src/pjsua-lib/pjsua_media.c
index de21e788..d3c3eb2e 100644
--- a/pjsip/src/pjsua-lib/pjsua_media.c
+++ b/pjsip/src/pjsua-lib/pjsua_media.c
@@ -969,8 +969,8 @@ PJ_DEF(pj_status_t) pjsua_set_snd_dev( int capture_dev,
pj_assert(conf_port != NULL);
/* Set AEC */
- pjmedia_snd_port_set_aec(pjsua_var.snd_port, pjsua_var.pool,
- pjsua_var.media_cfg.ec_tail_len);
+ pjmedia_snd_port_set_ec_tail(pjsua_var.snd_port, pjsua_var.pool,
+ pjsua_var.media_cfg.ec_tail_len);
/* Connect sound port to the bridge */
status = pjmedia_snd_port_connect(pjsua_var.snd_port,
@@ -1044,13 +1044,13 @@ PJ_DEF(pjmedia_port*) pjsua_set_no_snd_dev(void)
/*
* Configure the AEC settings of the sound port.
*/
-PJ_DEF(pj_status_t) pjsua_set_aec(unsigned tail_ms)
+PJ_DEF(pj_status_t) pjsua_set_ec_tail(unsigned tail_ms)
{
pjsua_var.media_cfg.ec_tail_len = tail_ms;
if (pjsua_var.snd_port)
- return pjmedia_snd_port_set_aec(pjsua_var.snd_port, pjsua_var.pool,
- tail_ms);
+ return pjmedia_snd_port_set_ec_tail(pjsua_var.snd_port, pjsua_var.pool,
+ tail_ms);
return PJ_SUCCESS;
}
@@ -1059,7 +1059,7 @@ PJ_DEF(pj_status_t) pjsua_set_aec(unsigned tail_ms)
/*
* Get current AEC tail length.
*/
-PJ_DEF(pj_status_t) pjsua_get_aec(unsigned *p_tail_ms)
+PJ_DEF(pj_status_t) pjsua_get_ec_tail(unsigned *p_tail_ms)
{
*p_tail_ms = pjsua_var.media_cfg.ec_tail_len;
return PJ_SUCCESS;