Sinch Node.js SDK - v1.6.0
    Preparing search index...

    Interface VoiceRelayDetails

    interface VoiceRelayDetails {
        callHeaders?: CallHeadersInner[];
        enableInterruptions?: boolean;
        endpoint: string;
        sttLanguage: string;
        ttsVoice: string;
    }
    Index

    Properties

    callHeaders?: CallHeadersInner[]

    Custom headers to be sent in the call setup.

    enableInterruptions?: boolean

    Allow "barge-in" during text-to-speech (TTS) playback. When true, TTS playback is interrupted as soon as inbound speech is detected, unless the currently playing content is marked as uninterruptible. When false, TTS playback continues uninterrupted, but an interruption signal is still sent over the WebSocket so the client application can choose to stop playback manually if needed.

    endpoint: string

    URL to the server that will accept the web-socket request

    sttLanguage: string

    BCP-47 language tag used for speech-to-text transcription of the inbound audio. This value determines which language model is used for transcription.

    ttsVoice: string

    Name of the voice to be used when synthesizing speech. This is the default voice used, if no override voice is provided in the web-socket TTS message. Supported voices include: Emma, Brian, and others. For a complete list of available voices and their characteristics, see the Text-to-Speech Voices documentation.