Skip to content

Reconnect to the speech server if it drops - #4

Merged
Kunal039 merged 1 commit into
mainfrom
feature/speech-server-reconnect
Oct 27, 2026
Merged

Kunal039 merged 1 commit into
mainfrom
feature/speech-server-reconnect

Conversation

@Kunal039

Copy link
Copy Markdown
Owner

If the on-device speech server drops mid-call (a restart, a brief hiccup), the page used to stop listening, so the user lost protection without noticing. Now it shows "Speech server dropped, reconnecting (1/3)…" and reconnects automatically, up to 3 times. Pressing Stop or Start during the wait cancels the retry. A server that was never reachable still shows the start.bat hint straight away.

Tested in the browser by cutting the connection mid-call: it reconnected on a new socket and Stop still worked.

  • npm test passes
  • Privacy unchanged: call text is still wiped when the connection drops

@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nazar-codevators Ready Ready Preview Oct 27, 2026 9:29pm UTC

@Kunal039
Kunal039 merged commit 51962c9 into main Oct 27, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 090606c7 Deployed Oct 27, 2026 by vercel[bot]
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