PJSIP项目在启用speex-aec时无法编译。

huangapple go评论122阅读模式
英文:

PJSIP project not compiling with speex-aec enabled

问题

我正在使用G.711编解码器,并希望使用Speex回声消除。

我尝试使用以下命令编译PJSIP项目:

./configure --host=arm-unknown-none  --target=arm-unknown-none  --prefix=/home/iwahed/proj/embox/build/extbld/third_party/pjproject/core/install --disable-l16-codec --disable-ilbc-codec --disable-speex-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-libyuv --disable-libwebrtc --disable-pjsua2 --enable-speex-aec && make dep && make

这导致以下错误:

/usr/bin/ld: /home/iwahed/proj/pjproject-2.11.1/pjmedia/lib/libpjmedia-arm-unknown-none.a(echo_common.o):(.data.rel+0x8): 对 `speex_aec_create' 的引用未定义

这个函数在speex_echo.c中定义。

我能得到一些关于如何启用Speex回声消除的指导吗?

英文:

I am using G.711 codec and aim to use Speex echo acoustic cancellation.

I tried to compile PJSIP project with the following command:

./configure --host=arm-unknown-none  --target=arm-unknown-none  --prefix=/home/iwahed/proj/embox/build/extbld/third_party/pjproject/core/install --disable-l16-codec --disable-ilbc-codec --disable-speex-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-libyuv --disable-libwebrtc --disable-pjsua2 --enable-speex-aec && make dep && make

This results in the following error:

/usr/bin/ld: /home/iwahed/proj/pjproject-2.11.1/pjmedia/lib/libpjmedia-arm-unknown-none.a(echo_common.o):(.data.rel+0x8): undefined reference to `speex_aec_create'

This function is defined in speex_echo.c.

Could I get some guidance what exactly is to be done to enable speex echo acoustic cancellation.

答案1

得分: 1

需要在使用Speex AEC时启用Speex编解码器。只需删除--disable-speex-codec

英文:

You need to enable speex codec when using speex aec. Just remove
--disable-speex-codec

huangapple
  • 本文由 发表于 2023年3月1日 16:44:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/75601343.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定