Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AllanZhengYP opened this issue May 25, 2022 · 4 comments
Closed
Assignees

Comments

@AllanZhengYP
Copy link

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: amazon-archives/amazon-transcribe-websocket-static#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?

amazon-archives/amazon-transcribe-websocket-static#36

@tommedema
Copy link

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)

@brmur
Copy link
Contributor

brmur commented Jun 2, 2022

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

@Harshit31
Copy link

Facing the same issue as @tommedema.

Can you please expedite this request @brmur?

@brmur brmur assigned cpyle0819 and unassigned brmur Mar 30, 2023
@cpyle0819
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants