aws-samples / aws-sdk-js-notes-app

A simple note taking application using modular AWS SDK for JavaScript (v3)
Other
81 stars 30 forks source link

Replace modules using deprecated methods #28

Closed awstomburge closed 5 months ago

awstomburge commented 3 years ago

Is your feature request related to a problem? Please describe.

The notes-app uses the microphone-stream module to record audio. This module is using the deprecated method of createScriptProcessor (https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)

Describe the solution you'd like

I would suggest a switch to a module that is using the AudioWorklet replacement for createScriptProcessor.

trivikr commented 5 months ago

Example https://github.com/aws-samples/amazon-transcribe-streaming-example-webapp-audiostream