feat(apple): report voice activity during transcription
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 15/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react-native, typescript
调研方向
Read the implementation on the feat/apple-speech-detection branch and the AppleTranscription.transcribeLive and transcribeStream entry points. The reported SpeechDetector failures on iOS 27 block the work pending an Apple fix; resume by checking whether it works alongside SpeechTranscriber and on its own. Done means speech start and stop events are reported for both transcription methods.
由索引模型根据 Issue 内容生成。
描述
Follow-up to #98. Live transcription has shipped, and echo cancellation is left to third-party audio libraries. Voice activity detection is the one piece still missing for full-duplex speech.
Goal
Report when speech starts and stops during AppleTranscription.transcribeLive and transcribeStream, e.g. through an onSpeechActivity callback. Apps can use it for barge-in: stop playback as soon as the user starts talking, before any words are transcribed.
Status: blocked on Apple
The plan was to add Apple's SpeechDetector module to the SpeechAnalyzer sessions. On iOS 27 (tested on one iPhone):
- Run alongside
SpeechTranscriber, it never reports a result. - Run on its own, it crashes inside Speech.framework while the analyzer sets itself up.
The implementation is on the feat/apple-speech-detection branch (not pushed). We'll pick it up once Apple fixes the detector.
Workaround for now
Treat the first partial result (isFinal: false in onResult, or transcript-partial with experimental_streamTranscribe) as "speech started". It fires a little later, once words come through.
- 主要语言
- TypeScript
- 星标
- 1.4k
- 派生
- 64
- 平均合并
- 11 小时 8 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstackincubator/ai 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
callstackincubator/ai#378 ·
-
feat(android): add ml kit task apis and context caching可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭enhancement
难度 5/5 一周以上 新手友好度 20/100
callstackincubator/ai#366 · 1 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 20/100
callstackincubator/ai#365 · 2 条评论 ·
-
Blocked enhancement
难度 3/5 1-2 天 新手友好度 30/100
callstackincubator/ai#364 · 1 条评论 ·
-
feat(android): add streamed and live transcription with word timings可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Blocked enhancement
难度 4/5 3-5 天 新手友好度 35/100
callstackincubator/ai#363 · 1 条评论 ·
查看 callstackincubator/ai 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
earendil-works/gondolin#222 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
endora-commerce/endora-commerce#2203 ·
维护者通常 1 天内回复
-
enhancement priority:medium ready-for-human
难度 2/5 1-3 小时 新手友好度 66/100
wondermoney/wondermoney#1079 ·
维护者通常 1 天内回复