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
asked a month ago160 views
1 Answer
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
EXPERT
answered a month ago
  • Yes I have cross check all the relevant library dependencies are exactly same , I have now added the screenshot of the dependencies

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions