How to implement aws streaming transcription in react app

0

I was trying to implement streaming transcription in react app following this repo of aws https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javascriptv3/example_code/cross-services/transcribe-streaming-app The repo app is working correctly but when I used this same code into my react app it gives me error Like below:

Error creating microphone stream: TypeError: microphone_stream__WEBPACK_IMPORTED_MODULE_0___default(...).default is not a constructor at createMicrophoneStream (transcribeClient.js:64:1) at Module.startRecording (transcribeClient.js:30:1)

Enter image description here

Enter image description here

Razib
質問済み 2ヶ月前191ビュー
1回答
0

Can you make sure you are importing libraries correctly? Error hints that your webpack configuration is not able to build the app accordingly.

profile picture
エキスパート
回答済み 2ヶ月前
  • Yes I have cross check all the relevant library dependencies are exactly same , I have now added the screenshot of the dependencies

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ