英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论