Echo cancellation on Mac OS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
I read docs and I can see that there's echo cancellation support in PJSUA.
It seems also that on Mac OS, CoreAudio should do the trick.

--- build info ---
PJSIP 2.x version, compiled libraries on Mac OS Lion 10.7.5
(darwin kernel 11.4.2) embedded in a simple XCode 4.5.2 project
(with MAC SDK 10.8 - deployment target 10.7 - 64 bit).
--- end build info ---

If I init PJSUA without media configuration, i.e:

pjsua_init(&cfg, &log_cfg, NULL);

and I use integrated Mac speakers+mic (no hearphones) I hear a lot of echo!
So I tried to enable echo cancellation in code with:

// other code
...
pjsua_media_config_default(&media_cfg);
media_cfg.ec_options = PJMEDIA_ECHO_DEFAULT;
media_cfg.ec_tail_len = 1200;
...
pjsua_init(&cfg, &log_cfg, &media_cfg);
// other code

but nothing changes...
What I have to do to enable it?



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux