aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

[NEW EXAMPLE REQUEST] [JavaScript v3] streaming transcribe examples in v3

Open AllanZhengYP opened this issue 2 years ago • 3 comments

What are you trying to accomplish? The JavaScript v3 example already contain a Transcribe example. It uses the asynchronous API.

The Transcribe service provides an WebSocket endpoints now to support streaming transcription. An example for it will be nice. The example will use collect user's voice stream from the microphon, streaming it to the AWS Transcribe streaming serivce and get the streaming transcript. Then print the streaming transcript on the webpage.

I have an old PR for the example: https://github.com/amazon-archives/amazon-transcribe-websocket-static/pull/36 Some of the code can be reused here.

Which AWS services, if known, should this code example use?

  • Transcribe
  • Cognito
  • CloudFormation

Which AWS SDKs or tools, if known, should this code example use?

  • AWS SDK for JS

Are there any similar code examples that could be leveraged?

https://github.com/amazon-archives/amazon-transcribe-websocket-static/pull/36

AllanZhengYP avatar May 25 '22 17:05 AllanZhengYP

would this be it? https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javascriptv3/example_code/cross-services/transcribe-streaming-app

we are seeing some weird issues with this example app though: unnamed (3)

tommedema avatar Jun 02 '22 17:06 tommedema

@tommedema Thanks for the feedback. Have added this to backlog and hope to get to it early next week.

brmur avatar Jun 02 '22 18:06 brmur

Facing the same issue as @tommedema.

Can you please expedite this request @brmur?

Harshit31 avatar Jun 30 '22 18:06 Harshit31

There is, indeed, a cross-service example that covers this: https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javascriptv3/example_code/cross-services/transcribe-streaming-app

The UI has been updated since the last screenshot above. Considering this example exists, and works (albeit ripe for improvements), I'm going to close this and will consider building a web native version in the future.

cpyle0819 avatar Apr 11 '23 19:04 cpyle0819