AOSSIE-Org / AOSSIE-Org/DebateAI

[BUG]: Speech Recognition stops automatically despite continuous mode enabled

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
84
Forks
198
Avg merge
2d 19h
Merged PRs (30d)
30

Description

### Bug Description

Problem Description
When using the Web Speech API (SpeechRecognition / webkitSpeechRecognition) with recognition.continuous = true, speech recognition still stops automatically after a short period of silence or inactivity.
This behavior breaks the expected continuous listening functionality, as recognition should remain active until it is explicitly stopped by the application.

Steps to Reproduce
1. Initialize SpeechRecognition
2. Enable continuous mode
3. Start recognition
4. Wait for silence or inactivity
5. Recognition stops automatically

Expected Behavior
Recognition should continue listening until manually stopped.

Actual Behavior
Recognition stops automatically due to silence, timeout, or internal browser reset.

Environment
1. Browser: Chrome / Edge
2. Frontend: TypeScript web application
3. API: Web Speech API

Workaround
Restart recognition manually inside the onend event.

### Steps to Reproduce

_No response_

### Logs and Screenshots

_No response_

### Environment Details

_No response_

### Impact

Critical - Application is unusable

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.