Skip to main content
WSS
wss://api.simli.ai
/
compose
/
webrtc
/
p2p
Messages
offer
type:object
audio_chunk
type:string

Binary stream of the audio that the Avatar will lipsync to. Sent as a binary stream (in JS/TS UInt8Arr)

clear_buffer
type:string

Client Signal to make the avatar stop speaking immediately and ignore all previously sent audio

final_message
type:string

Client Signal to tell the server that the final segment of audio has been already sent and that it should close after playing it back

answer
type:object

RTC Answer as generated by https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer or compatible. Will be received AFTER an offer has been sent

event
type:string

Server sent signals

error
type:string

Termination messages that specify the reason for immediate termination