Skip to content

Feature/interview voice streaming#100

Merged
i3months merged 2 commits into
devfrom
feature/interview-voice-streaming
Jun 14, 2026
Merged

Feature/interview voice streaming#100
i3months merged 2 commits into
devfrom
feature/interview-voice-streaming

Conversation

@i3months

Copy link
Copy Markdown
Member

No description provided.

i3months and others added 2 commits June 14, 2026 10:21
첫 질문/질문풀 TTS 가 전체 텍스트를 한 번에 합성해 콜백·전체 blob
다운로드까지 끝나야 소리가 나던 구조를 꼬리질문과 동일한 문장 단위
스트리밍으로 전환.

- TtsConsumer 에 session_notifier 주입 시 질문을 문장 단위로 순차 합성해
  세그먼트 PUT + SESSION_MESSAGE_AUDIO 즉시 발행 → 첫 문장부터 재생
- seq 는 성공한 세그먼트에만 0..n 연속 부여 → 중간 실패 시 프론트 큐 정지 방지
- 세그먼트를 재합성 없이 합본(audio_join)해 전체 파일 PUT + callback.tts
  → "다시 듣기"·ttsStatus 유지
- notifier 미주입 시 기존 단발 합성 경로 그대로 (레거시 호환)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
AI 서버가 질문을 세그먼트로 흘리는 변경에 맞춰 프론트 재생을 정비.

- deliveryMode 를 LiveInterview 로 끌어올려 useLiveInterview 에 전달,
  세그먼트 자동재생을 voice 모드로 게이팅 (텍스트 모드 자동재생 방지,
  꼬리질문 텍스트 모드 자동재생 버그도 함께 수정)
- 세그먼트 오디오 play/pause/ended 로 '말하는 중' 상태 추적 → isSpeaking
- StageQuestion: 세그먼트 재생 중엔 "준비 중" 대신 실제 재생 파형 +
  "질문을 들려드리고 있어요…", 전체파일 도착 후 "다시 듣기"
- InterviewerAvatar: speaking 상태 추가 — 음성 파동(sonar) 링으로
  AI 가 말하는 존재감 표현

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
stackup Ready Ready Preview, Comment Jun 14, 2026 1:39am

@i3months i3months merged commit da04789 into dev Jun 14, 2026
3 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