Skip to content

2/4 Route TUI realtime audio through shared echo cancellation#16806

Open
aibrahim-oai wants to merge 4 commits intorealtime-webrtc-transportfrom
realtime-tui-aec
Open

2/4 Route TUI realtime audio through shared echo cancellation#16806
aibrahim-oai wants to merge 4 commits intorealtime-webrtc-transportfrom
realtime-tui-aec

Conversation

@aibrahim-oai
Copy link
Copy Markdown
Collaborator

@aibrahim-oai aibrahim-oai commented Apr 4, 2026

Stack position: 2/4

Stack:

This PR:

  • Add a shared realtime capture/render audio processor in the TUI.
  • Feed microphone and speaker streams through the same processor so echo cancellation has a render reference.
  • Keep the backend-facing PCM frame shape unchanged.

@aibrahim-oai aibrahim-oai force-pushed the realtime-tui-aec branch 2 times, most recently from e8a24ed to 53779c8 Compare April 4, 2026 19:57
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai force-pushed the realtime-tui-aec branch 2 times, most recently from 307800d to 9f35803 Compare April 4, 2026 20:21
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Provide the hermetic Bazel meson tool to webrtc-audio-processing-sys build scripts so BuildBuddy remote clippy and build jobs do not depend on host-installed meson.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Use meson 1.5.1.bcr.1 so the Bazel repo exposes the public :meson tool target and has the required rules_python load in its BUILD file.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Patch webrtc-audio-processing-sys to honor the MESON env var and set that env var to the hermetic Bazel meson executable during build scripts.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Provide the hermetic Bazel meson tool to webrtc-audio-processing-sys build scripts so BuildBuddy remote clippy and build jobs do not depend on host-installed meson.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Use meson 1.5.1.bcr.1 so the Bazel repo exposes the public :meson tool target and has the required rules_python load in its BUILD file.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Patch webrtc-audio-processing-sys to honor the MESON env var and set that env var to the hermetic Bazel meson executable during build scripts.

Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai changed the title Route TUI realtime audio through shared echo cancellation 2/4 Route TUI realtime audio through shared echo cancellation Apr 4, 2026
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Refresh MODULE.bazel.lock after adding the TUI realtime audio-processing dependency.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Provide the hermetic Bazel meson tool to webrtc-audio-processing-sys build scripts so BuildBuddy remote clippy and build jobs do not depend on host-installed meson.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 4, 2026
Use meson 1.5.1.bcr.1 so the Bazel repo exposes the public :meson tool target and has the required rules_python load in its BUILD file.

Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai added a commit that referenced this pull request Apr 5, 2026
Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai force-pushed the realtime-tui-aec branch 2 times, most recently from db7e7da to 6cafb92 Compare April 5, 2026 03:54
aibrahim-oai and others added 4 commits April 5, 2026 13:00
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Replace the native audio-processing dependency with a smaller pure-Rust realtime echo-cancellation path.

Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant