metatell Bot SDK - v2.0.0
    Preparing search index...

    Interface AttachVoiceOptions

    Options for attachVoice.

    interface AttachVoiceOptions {
        autoStartPublish?: boolean;
        channels?: 1 | 2;
        enableTopicAutoAdd?: boolean;
        frameDurationMs?: 10 | 20;
        loggerTag?: string;
        sampleRate?: 48000 | 24000 | 16000;
    }
    Index
    autoStartPublish?: boolean

    Starts publishing automatically. Default: true.

    channels?: 1 | 2

    Channel count. Sending requires mono audio. Default: 1.

    enableTopicAutoAdd?: boolean

    Adds the audio topic automatically. Default: true.

    frameDurationMs?: 10 | 20

    Frame duration in milliseconds. Default: 20.

    loggerTag?: string

    Log tag. Default: 'voice.bridge'.

    sampleRate?: 48000 | 24000 | 16000

    Sample rate for metadata. Internally fixed at 48 kHz. Default: 48000.