Skip to content

Live mode: no speech-to-text subtitles from human mic #599

Closed

Description

@joelteply

In live mode, AI personas join LiveKit (15 participants visible in logs) but human speech is not being transcribed to subtitles. No STT/whisper/transcript logs appear. Browser mic may not be connecting to STT pipeline.

Activity

  1. joelteply commented on Mar 30, 2026

    @joelteply
    ContributorAuthor

    Pipeline trace: Voice WebSocket starts but NO audio data flows. Browser mic permission is granted. The break is between AudioWorklet capture and Voice WebSocket. Need to instrument: (1) AudioWorklet processor — is it receiving PCM frames? (2) LiveKit track publish — is the local audio track being published? (3) Voice WebSocket — is the server receiving audio frames? (4) STT — is Whisper getting input?

  2. joelteply commented on Mar 30, 2026

    @joelteply
    ContributorAuthor

    Root Cause Found

    The STT listener is a Rust module in continuum-core (spawn_stt_listener in livekit_agent.rs). The Rust binary is not built on this Mac. No binary = no STT listener = no human speech transcription.

    Server log shows 'Lost connection to Rust logger worker' — the Rust worker process isn't running or is crashing.

    The fix: build continuum-core (cargo build --release) and ensure npm start launches it. This is blocked by Rust compilation working on the Mac (it has Rust 1.93.1 installed, just never built).

  3. added a commit that references this issue on Mar 30, 2026
    947a1f1
  4. added a commit that references this issue on Mar 30, 2026
    96f10f6
  5. joelteply commented on Mar 30, 2026

    @joelteply
    ContributorAuthor

    Progress Update

    1. Whisper orphan watchdog fixed (PR Fix #599: STT killed mid-call — orphan watchdog timeout too aggressive #600) — Whisper stays alive now
    2. STT listener connects to LiveKit — subscribes to Joel's audio track ✓
    3. listen_and_transcribe spawned — tokio task starts for human audio ✓
    4. VAD init fails silently — ProductionVAD.initialize() (WebRTC + Silero two-stage) fails before any audio processing. No VAD init log appears. Either Silero ONNX model loading crashes or ORT runtime has an issue on this Mac.
    5. Silero model file exists (2.1MB at models/vad/silero_vad.onnx)

    Next step: Add explicit error logging/catch around VAD init, or test Silero ONNX loading in isolation.

  6. added 2 commits that reference this issue on Mar 30, 2026
    a4fa70d
    9d85876
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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