Skip to content

Issues with Echo Cancellation #40

Open
@yash-samespace

Description

@yash-samespace

I’ve integrated this library into a Tauri-based Rust project that leverages WebRTC technology and I’m encountering issues with the echo cancellation feature.

Here are the details:

• Environment: I built the library on macOS using meson build, following the instructions in the repository’s README.
• Setup: I initialized the audio processor and connected process_capture_frame and process_render_frame to the audio input and output streams provided by CPAL (audio I/O library).
• Testing: After calling process_capture_frame(), I used get_stats() to monitor the performance. I observe that has_echo is set to true in certain cases, which suggests that echo detection is partially working. However, there is still an audible echo on the remote side, and in other cases, it seems that echo isn’t detected at all.

To clarify my understanding: is the expectation that the raw audio stream passed to process_capture_frame() is directly modified to filter out the echo? Or is there another step I may be overlooking in the echo cancellation process?

Any guidance you could provide would be greatly appreciated. Please let me know if you need additional information on my implementation.

Thank you for your work and support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions