Skip to content

Dampen mobile realtime voice barge-in echo#571

Merged
rogerchappel merged 1 commit into
mainfrom
codex/realtime-mobile-barge-in
May 21, 2026
Merged

Dampen mobile realtime voice barge-in echo#571
rogerchappel merged 1 commit into
mainfrom
codex/realtime-mobile-barge-in

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • use a stricter barge-in profile for mobile and Capacitor runtimes
  • add a short output grace window and require sustained stronger speech before interrupting on mobile
  • suppress likely speaker echo frames from being sent upstream on mobile until barge-in is confirmed

Verification

  • pnpm test -- src/lib/realtime-voice-gateway-relay.test.ts src/lib/realtime-voice-client.test.ts src/lib/realtime-voice-audio.test.ts
  • pnpm typecheck
  • git diff --check
  • pre-push pnpm typecheck && pnpm build

Risk

Medium. This changes realtime interrupt behavior, but only in the realtime gateway relay client. Desktop keeps its existing sensitivity; mobile/Capacitor gets echo damping.

@rogerchappel rogerchappel merged commit b4d9576 into main May 21, 2026
1 check passed
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