amazon-chime-sdk-js
amazon-chime-sdk-js copied to clipboard
Live transcription `IdentifyLanguage` not working
What happened and what did you expect to happen?
I am trying to use Chime live transcription feature, but having an issue with enabling IdentifyLanguage.
Everything works fine if I specific LanguageCode: 'en-US', but when I do:
const transcribeResponse = await meetingClient.send(
new StartMeetingTranscriptionCommand({
MeetingId: meetingId,
TranscriptionConfiguration: {
EngineTranscribeSettings: {
IdentifyLanguage: true,
PreferredLanguage: 'en-US'
}
}
})
);
I got a success message on the server side: transcribeResponse {"$metadata":{"httpStatusCode":200,"requestId":"b20b7f6e-07a1-4da4-a26e-86c89f7a3a5b","attempts":1,"totalRetryDelay":0}}
However, on the frontend, I got this error message:
Based on the documentation, seems like I don't need to specific LanguageCode when IdentifyLanguage is set to true:
Any idea about why this happens? Am I missing something? Thank you for helping in advance.
Have you reviewed our existing documentation?
Reproduction steps
Server-side code:
const transcribeResponse = await meetingClient.send(
new StartMeetingTranscriptionCommand({
MeetingId: meetingId,
TranscriptionConfiguration: {
EngineTranscribeSettings: {
// LanguageCode: 'en-US'
IdentifyLanguage: true,
PreferredLanguage: 'en-US'
}
}
})
);
Client-side code:
audioVideo.transcriptionController?.subscribeToTranscriptEvent((transcriptEvent) => {
console.log('transcriptEvent', transcriptEvent);
// do something with transcriptEvent
});
Amazon Chime SDK for JavaScript version
3.535.0
What browsers are you seeing the problem on?
Chrome
Browser version
122.0.6261.129
Meeting and Attendee ID Information.
No response
Browser console logs
skip