owt-client-javascript
owt-client-javascript copied to clipboard
Enable audio denoise for OWT using a Wasm port of RNNoise Library
This PR enables OWT to apply denoising to audio streams in the connection.
This is accomplished by porting the RNNoise NN based denoising library to WebAssembly and incorporating it to OWT audio stream processing. MediaStreams can be created with or without the denoising pipeline added.
PTAL
The details of failed CI tests appears to to inaccessible. How to view the logs?
@taste1981 please review. The update moves implementation to use AudioWorklets as discussed. The issue with mismatched sample buffer size between Audioworklet (128) and Rnnoise (>512) is resolved using a new ring buffer.
@jianjunz please review this.
It looks good to me. @taste1981, please check if the audio worklet has any license issue or code scan issue. If no, please merge this PR, thanks.
It looks good to me. @taste1981, please check if the audio worklet has any license issue or code scan issue. If no, please merge this PR, thanks.
Unless the source code includes a copyright section as required by https://github.com/xiph/rnnoise 's copyright text, We should not allow this to be merged.
Thanks for the review. I will edit the source to meet the copyright requirements and update this PR.