New to AWS, Transcribe streamming question

0

I need to create a app that uses Transcribe on Unreal, but I'm just plain dumb, please guide me:

they have something like to start a session:

POST /stream-transcription HTTP/2 host: transcribestreaming.us-west-2.amazonaws.com X-Amz-Target: com.amazonaws.transcribe.Transcribe.StartStreamTranscription Content-Type: application/vnd.amazon.eventstream . . . . . so on

I can't for the life of me get past this I tried with postman, and on unreal itself, I got the IAM and everything else sorted, but I don't know if I need a function from the SDK to gerate the URL, when I try to do it myself I get:

<UnknownOperationException/> or The WebSocket handshake failed ( when using socket)

As I just started using AWS I'm lost, any guidance is welcome

已提问 2 年前425 查看次数
1 回答
1

Hello,

Apparently the Authentication header having the credentials is missing, or the user bound to the IAM is lacking permissions to the transcribe:StartStreamTranscription API

The whole request, including the Authentication header, can be constructed manually, as described in the Setting up an HTTP/2 stream section from Amazon Transcribe documentation, or you can use the AWS SDK for JavaScript - see https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe-streaming

AWS
已回答 2 年前
profile pictureAWS
专家
Chris_G
已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则