Now a days many of mobile devices comes with built-in hardware echo canceler. But the low end devices that cost little doesn't have this feature integrated. And moreover the previous older android devices doesn't have the echo canceler. In my journey of echo cancellation I have came across a valuable library that will do everything for you , if you provide it the necessary gasoline . I have tested this echo canceler tool with my HTC desire 610 . Which is pretty cheap and doesn't have any built-in hardware echo canceler. I have designed an algorithm for capture and playback, which uses ring-buffer, calculate the delay and use the webRTC aecm modules API. Here we go -- InitiateAecm() Set the clock cycle rate. Set the echo tail length. Set the channel count. Set the byte per sample. // it's 2 byte per sample Calculate sa...
Network programming and scalable micro-services in Azure