Skip to main content
The core SDK supports two audio paths: recording an audio message and sending it like any other message, and a dedicated voice mode for real-time spoken conversations.

Recording audio

Start recording to receive audio chunks via a callback, then stop when the user is done. Each chunk is an AudioMetaData object.

AudioMetaData

Sending audio

Send a recorded clip with sendMessage using the audio field:

Transcripts

When audio is transcribed, the SDK emits an AUDIO_TRANSCRIPT event. Use it to show the recognized text:

Voice mode

For continuous spoken conversation, use the voice getter, which returns a VoiceAgent:
Voice mode is a distinct, real-time conversational interface — separate from one-off audio messages. Check that your agent has voice enabled in console.eka.care.