简体   繁体   中英

how to add webrtc aec in pjsip,running on Embedded Linux

我不知道如何在pjsip中构建webrtc aec,我不想下载webrtc的所有代码,只是aec部分,embed cpu是imx6ul,请给我一些指导,非常感谢

They are both written in C so migration of the WebRTC module and make it compiable should be easy.

You should take advantage of pjsip's Audio Manipulation Algorithms module. It allows you to apply algos on the processing audio sample frames. https://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__FRAME__OP.htm

For the AEC, make sure you have access to the loopback channel on the codec. (Samples from playing speaker).

Steps:

  • Create a New Audio Manipulation Algorithms Module
  • Gain access to audio playback/capture signals with pjmedia
  • Migrate WebRTC AEC Module
  • Reroute the signal processing pipeline and enabling the AEC Algorithms module

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM