• Jason Thomas Brandon West Rosa Trieu A few years ago, we had to scramble to find a quiet place for meetings to avoid the inevitable interruptionsâleaf blowers, barking dogs, and kids shouting in the background. • Today, thanks to the pervasiveness of both remote work and mobile devices, we have tools to help. • With some clever algorithms and modern AI-powered processing, itâs possible to filter out much of that noise in real time. • The Datadog CoScreen team wanted to provide that experience in our real-time collaboration tool for remote and hybrid engineering teams. • But when Senior Staff Engineer Jason Thomas set out to add real-time noise suppression to CoScreen, he quickly discovered a problem: no off-the-shelf libraries or tools were simultaneously performant enough to run in real time, portable enough to run on client devices, and easy to integrate with WebRTCâthe open source real-time communication software supported by Google, Mozilla, and Opera. • Our solution, dtln-rs, is an open source noise suppression library thatâs embeddable across native clients and the web.

Article Summaries:

  • Datadog’s CoScreen team developed and open‑sourced dtln‑rs, a lightweight noise‑suppression library that runs entirely on client devices. Built in Rust and based on a Dual‑Signal Transformation LSTM Network (DTLN), the library can compile to WebAssembly, Node.js, and native binaries, enabling integration with WebRTC on browsers and mobile platforms. Performance tests show it processes one second of audio in just 33 ms on an M1 MacBook Pro, meeting real‑time thresholds without server‑side processing. The team released a demo app and documentation to help developers embed the filter into their own real‑time collaboration tools.

Sources: