Use DTLN real time speech denoising model and DTLN-aec model for real-time acoustic echo cancellation in web.
npm i @sapphi-red/dtln-web # yarn add @sapphi-red/dtln-web
See demo source code.
Also you will need to copy files. Use CopyWebpackPlugin or vite-plugin-static-copy or something simillar.