diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-09-20 20:02:18 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-09-20 20:02:18 +0000 |
commit | fea1c2e2fd2629ec721f82a45046d19eddbda820 (patch) | |
tree | 48689e085b45d935fce06ba043b4f59d1157bac4 /pjmedia/include | |
parent | eba3cc35db92c66e1d99180060a02d008c68f7ca (diff) |
Automatically suspend AEC when nothing is connected to the sound port in the bridge, and resume as soon as frames are transmitted.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/sound_port.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/sound_port.h b/pjmedia/include/pjmedia/sound_port.h index c65a11dc..a1378320 100644 --- a/pjmedia/include/pjmedia/sound_port.h +++ b/pjmedia/include/pjmedia/sound_port.h @@ -220,6 +220,12 @@ PJ_DECL(pj_status_t) pjmedia_snd_port_get_ec_tail(pjmedia_snd_port *snd_port, unsigned *p_length); +/** + * Enable or disable echo canceller. By default the EC is enabled after it + * was created, so there is no need to enable the EC after creating it. + * This function is only useful to disable the echo canceller temporarily, + * for example during idle period, to prevent EC from using + */ /** * Connect a port to the sound device port. If the sound device port has a |