AOSSIE-Org / AOSSIE-Org/DebateAI

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

未关闭
#329 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
84
派生
198
平均合并
2 天 19 小时
30 天内合并 PR
30

描述

### 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。