Replies: 3 comments 2 replies
-
Hii @josephadd, sorry to hear about your issues. Could you please let me know which SDK minor version are you using, and could you please also provide runtime details such as if are you running on nodejs or browser? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Has any progress been made here? I'm having the same problem. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For me it worked like this, however, make sure the file is properly encoded, that caused me a lot of problems 🤣 const params: StartStreamTranscriptionCommandInput = {
LanguageCode,
MediaEncoding,
MediaSampleRateHertz,
AudioStream: (async function* () {
for await (const chunk of objectStream.Body) {
yield { AudioEvent: { AudioChunk: chunk } };
}
})(),
};
const command = new StartStreamTranscriptionCommand(params);
// Send transcription request
const response = await transcribeClient.send(command); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with Amazon transcribe streaming api. the below code gives me the corresponding error below. Please can someone help me out? Thank you
Error: Cannot read properties of undefined (reading '0')
Trace: C:\Users\JosephAdeabah\Documents\myTranscribe\my-sst-app\node_modules@aws-sdk\client-transcribe-streaming\dist-es\models\models_0.js:21
return visitor._(value.$unknown[0], value.$unknown[1]);
^
TypeError: Cannot read properties of undefined (reading '0')
@yenfryherrerafeliz Can you help me please?
Beta Was this translation helpful? Give feedback.
All reactions