Discussions

Ask a Question
Back to All

Info on Websocket audio format

I'm developing a Flutter App that use you're API and LiveKit.
I'm having some issue with the Websocket API, i open succesfully the connection on the url wss://api.heygen.com/v1/ws/streaming.chat with my sessiontoken, but when i send the audio the Avatar doesn't react at all.
I'm sending a PCM16 mono.
I've tried with a echo websocket to test if the audio is sent correctly, and it's ok.

Are there some others parameters to set, like frequency, sample, bufferSize etc. ?