Messages
{
"livekit_url": "<string>",
"livekit_token": "<string>"
}{}{}{}{}{}Websockets
Livekit
Livekit Backed WebRTC
Compose Session Token is sent as query parameter string
No first message is required. However, You must successfully join the livekit room within 30 seconds
WSS
/
compose
/
webrtc
/
livekit
Messages
{
"livekit_url": "<string>",
"livekit_token": "<string>"
}{}{}{}{}{}livekit_join_info
type:object
Room info and join token that are used by the client to join a livekit room that hosts the avatar session
event
type:string
Server sent signals
error
type:string
Termination messages that specify the reason for immediate termination
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