Skip to content

how to set the input language? #83

@kabus202

Description

@kabus202

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
            });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions