Skip to content

feat(caller): env-gated Session A VAD hardening for noisy environments#59

Merged
sonsangwoo1116 merged 1 commit into
mainfrom
feat/session-a-vad-separation
Jul 3, 2026
Merged

feat(caller): env-gated Session A VAD hardening for noisy environments#59
sonsangwoo1116 merged 1 commit into
mainfrom
feat/session-a-vad-separation

Conversation

@sonsangwoo1116

Copy link
Copy Markdown
Contributor

발신자(Session A) VAD/노이즈 설정을 callee와 분리 — 발신자는 에코 게이팅이 없어 공유 임계값이 부적합.

전부 env-gated OFF (기본 동작 무변화, 배포 안전):

  • session_a_* 전용 VAD 설정 + session_a_noise_reduction(기본 none)
  • OpenAI audio.input.noise_reduction(near_field) 옵션
  • 발신자 server VAD(연속 스트리밍) 옵션 — NEXT_PUBLIC_RELAY_CALLER_VAD=server

부스 테스트 시 env로 활성:

  • relay: SESSION_A_NOISE_REDUCTION=near_field
  • web: NEXT_PUBLIC_RELAY_CALLER_VAD=server

⚠️ server VAD 경로는 UNTESTED — 실통화로 turn-taking 검증 후 사용. Session B(callee) 파이프라인 무변경.

🤖 Generated with Claude Code

Separate Session A (caller) VAD/noise config from Session B so the caller
path can be tuned independently — the caller has no echo gating, unlike the
callee, so shared thresholds were the wrong knob.

- Session A dedicated settings: session_a_vad_* + session_a_noise_reduction
- Optional OpenAI input noise_reduction (near_field) on audio.input
- Optional server VAD for the relay caller (continuous streaming) via
  NEXT_PUBLIC_RELAY_CALLER_VAD=server; relay wires speech_stopped -> response

All features default OFF (noise_reduction=none, caller VAD=client) so a main
deploy is behavior-neutral. Enable per-env for booth testing:
  SESSION_A_NOISE_REDUCTION=near_field   (relay)
  NEXT_PUBLIC_RELAY_CALLER_VAD=server    (web)

WARNING: the server-VAD caller path is UNTESTED — verify turn-taking on a
live call before enabling. Session B (callee) pipeline is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wigvo-web Ready Ready Preview, Comment Jul 3, 2026 1:25am

@sonsangwoo1116 sonsangwoo1116 merged commit 1c7324e into main Jul 3, 2026
5 checks 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