Skip to content

docs(windows): point Windows voice setup at LiveKit transport - #600

Open
sanketpatel32 wants to merge 1 commit into
mbailey:masterfrom
sanketpatel32:issue-239-windows-stt-docs
Open

sanketpatel32 wants to merge 1 commit into
mbailey:masterfrom
sanketpatel32:issue-239-windows-stt-docs

Conversation

@sanketpatel32

Copy link
Copy Markdown

Fixes #239

The issue's analysis showed that on native Windows, STT works only through the LiveKit transport: the local transport records the microphone to a temp WAV file, which Windows file locking rejects (WinError 32, #135). LiveKit streams the mic over WebRTC instead, and the default transport="auto" detects the server on port 7880 automatically — so telling users to set transport="livekit" explicitly is unnecessary.

This PR updates the Windows voice/STT docs to match that conclusion:

  • docs/tutorials/getting-started.md — new ### Windows section under local services: LiveKit (7880) required for mic input, Whisper (2022) STT, Kokoro (8880) TTS; transport="auto" needs no explicit override; local fails with WinError 32; Whisper must expose the OpenAI-compatible /v1/audio/transcriptions endpoint (vanilla whisper.cpp serving only /inference will not transcribe).
  • docs/troubleshooting/index.md — new common issue refresh_provider_registry fails with TypeError, preventing TTS service detection #6 "Microphone Fails on Native Windows (WinError 32)" + a bullet under Audio Device Problems.
  • voice_mode/resources/docs/parameters.md (served as voicemode://docs/parameters, included verbatim by the converse-parameters site page) — Windows note under the transport parameter.
  • voice_mode/resources/docs/troubleshooting.md — Windows bullet under "Transport issues": don't force transport="local".
  • docs/guides/configuration.md — one-line note that LiveKit is required for native Windows mic input.
  • docs/guides/whisper-setup.md — note that STT requires the OpenAI-compatible /v1/audio/transcriptions endpoint.
  • README.md — troubleshooting-table row for Windows mic input.

Verified the parameter-docs single-source detector (tests/test_parameter_docs_single_source.py) against all touched files — no duplicate parameter reference is introduced.

On native Windows the local transport captures the mic to a temp WAV
file, which fails with WinError 32 (file locking). The working setup
runs a LiveKit server on port 7880 and lets the default transport=auto
select it -- no explicit transport=livekit needed. Whisper must serve
the OpenAI-compatible /v1/audio/transcriptions endpoint; a whisper.cpp
build exposing only the native /inference path will not transcribe.

Updates getting-started, the troubleshooting page, the served
parameters/troubleshooting resources, configuration, whisper-setup,
and the README troubleshooting table.

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Signed-off-by: Sanket Patel <sanpatel323@gmail.com>
@sanketpatel32
sanketpatel32 force-pushed the issue-239-windows-stt-docs branch from 8aa18a9 to 05dee78 Compare November 22, 2026 23:55

This branch has not been deployed

No deployments
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.

[ Windows ] Windows STT Solution Analysis

1 participant