tomoyuki-nohara-abeja / jp-transcript-chrome-extensiona

Google meet + Google Speech API on Chrome Extension
0 stars 0 forks source link

非同期APIを使う方法についての議論 #2

Open tomoyuki-nohara-abeja opened 4 years ago

tomoyuki-nohara-abeja commented 4 years ago

Node.jsのモジュールを、素のjavascript (node.jsなし)で使いたいのですが、そういうことってできますか??? <- 質問になってないかも:うんこ: 背景は、DSのEnglishメンバからgoogle meetsの日本語書き起こしのchrome extensionを作って欲しいと言われて適当に作り始めていて、Google speech-to-text APIに録音したデータを投げて、文章が返るまでは実装できました。 しかし、これは「同期API」を使っており、適当な時間で録音したデータを投げているだけなのです。。 どうも「非同期API」がありストリーミングでできるらしいので使いたいのですが、サンプルみるとNode.jsの方法しかのってなく。。<-- いまここ

tomoyuki-nohara-abeja commented 4 years ago

APIリファレンス Cloud Speech-to-Text API | Cloud Speech-to-Text ドキュメント | Google Cloud

tomoyuki-nohara-abeja commented 4 years ago

https://github.com/Z-me/Meet4NicoNicoStyleChromeExtension

tomoyuki-nohara-abeja commented 4 years ago

https://github.com/grpc/grpc-web