Acoustic echo cancellation in C# client

1k Views Asked by At

I have a dispatcher's desk (client) and radio state (server) with speakers and microphones. These communicate with RTP protocol. They send and recieve data and play their immediately. My problem is that speakers must be loud. Therefore, echo is annoying. I did not found usefull AEC program for C#. So, I appreciate your suggestions!

2

There are 2 best solutions below

1
Dönci Fekete On BEST ANSWER

Dependencies of webRTC are huge and complex. It is unnecessary, if you only want to use AEC package. Therefore, I searched another solution and I have found Speex open source project. It is C++ code, but you can use with wrapper project (CLI/C++) in C# project.

2
Tim On

As far as I know, there is not package that is ready for C# but you can build a wrapper in C# for any AEC package you can find. I think there are two main options for AEC package: 1. Open source packages - like the AEC component of webRTC (https://webrtc.org/) 2. Commercial package like SoliCall (http://solicall.com).

A third option you might want to consider is doing the echo cancellation on the network. Assuming you are using SIP/RTP - take a look at the PBXMate product.