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

Live transcription IdentifyLanguage not working #2861

Open
4 tasks done
haofiltered opened this issue Mar 18, 2024 · 0 comments
Open
4 tasks done

Live transcription IdentifyLanguage not working #2861

haofiltered opened this issue Mar 18, 2024 · 0 comments

Comments

@haofiltered
Copy link

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:
image

Based on the documentation, seems like I don't need to specific LanguageCode when IdentifyLanguage is set to true:
image

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

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

1 participant