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

    Interface VoiceCapableClient

    Voice-capable client interface Both MetatellClient and AgentClient should implement this

    interface VoiceCapableClient {
        getSessionId(): string | null;
        muteVoice?(muted: boolean): Promise<void>;
        sendVoiceFrame?(pcm: Int16Array): Promise<void>;
    }

    Hierarchy (View Summary)

    Index
    • Send voice frame to the server

      Parameters

      • pcm: Int16Array

      Returns Promise<void>