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달 전216회 조회
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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠