Klleon Chat SDK
English
English
  • ✨New Javascript SDK [1.2.0]
    • Getting Started
    • Events
    • UI
    • Methods
      • Life Cycle
      • Text Chat
      • Voice Chat
      • Echo Chat
      • Audio Echo Chat
      • Other
    • TypeScript Support
    • Examples
      • VanillaJS
      • React
      • Nextjs
    • Log System
    • Updates
  • JavaScript SDK [v0.x.x] (Planned for Deprecation)
    • Quick Start
    • Initialize
    • Avatar Streaming
      • Start Streaming
      • Stop Streaming
      • Control Streaming Screen
    • Set Chat Screen
    • Text Message
    • Voice Message
    • Echo - Repeat My Message
    • Event Subscription
    • Updates
  • Service Architecture
Powered by GitBook
LogoLogo

Products

  • Pricing

Websites

  • Homepage
  • Youtube
  • Linkedin

Copyright © Klleon. All rights reserved

On this page
  • startAudioEcho
  • endAudioEcho
  1. New Javascript SDK [1.2.0]
  2. Methods

Audio Echo Chat

Requests the avatar to speak the exact audio data sent to it.

startAudioEcho

This method starts the audio echo feature. The audio data must be in PCM format (S16LE) with a 24kHz sample rate and must be provided in Base64 format.

window.KlleonChat.startAudioEcho(audio: string);

endAudioEcho

This method stops the audio echo feature. Any started audio echo feature must be properly closed.

window.KlleonChat.endAudioEcho();
PreviousEcho ChatNextOther

Last updated 4 months ago

✨