feat(android): add streamed and live transcription with word timings

オープン
#363 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin, typescript
領域
mobile-dev

調査の方向性

Start in the @react-native-ai/android package: read the existing AudioSource.fromFile transcription path, then the ML Kit genai-speech-recognition docs for fromMic/fromPfd and enableWordTiming. Design how streamed PCM chunks and a live microphone API would map onto experimental_streamTranscribe and Apple's transcribeLive shape. Note the issue itself flags that en-US is unavailable on the only test device, so testing needs another device — done means streaming and live transcription producing segments from word timings.

索引モデルが issue の本文から書いたものです。

説明

Blocked enhancement

@react-native-ai/android transcribes whole files with AudioSource.fromFile. ML Kit's speech recognition (genai-speech-recognition 1.0.0-alpha2) also takes AudioSource.fromMic() and fromPfd (16 kHz mono 16-bit PCM), with partial results and word timings (recognitionOptions { enableWordTiming = true }), which only work with streamed sources.

These could back experimental_streamTranscribe (PCM chunks) and a live microphone API like Apple's transcribeLive, with segments from the word timings.

Note: on the test Pixel 9 Pro (AICore aicore_20260219), checkStatus reports en-US unavailable in both basic and advanced mode, so this needs another device to test.

主要言語
TypeScript
スター
1.4k
フォーク
64
平均マージ
11時間 24分
マージ済み PR(30日)
91

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/ai のほかの issue

callstackincubator/ai の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。