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

how to set the input language? #83

Open
kabus202 opened this issue Jul 3, 2023 · 0 comments
Open

how to set the input language? #83

kabus202 opened this issue Jul 3, 2023 · 0 comments

Comments

@kabus202
Copy link

kabus202 commented Jul 3, 2023

how to set the input language?

   const id = "asidjf23sdf";

            const connectionConfig = {
                "config": {
                    "confidenceThreshold": 0.7,
                    "languageCode": "nl-NL",
                    "meetingTitle": "My Test Meeting",
                    "timezoneOffset": 480
                },
                id,
                "insightTypes": [
                    "action_item",
                    "question"
                ],
                "speaker": {
                    "name": "My name",
                    "userId": "emailAddress"
                }
            };

            const connection = await symbl.createAndStartNewConnection(connectionConfig);

            connection.on('speech_recognition', (speechData) => {
                const name = speechData.user ? speechData.user.name : 'User';
                const transcript = speechData.punctuated.transcript;
                setTranscribedText(transcript); // Make sure this function is defined
            });
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