Discussions

Ask a Question
Back to All

My avatar can't hear me

Hi folks, I found a Javascript based livekit client page which lets you pick an avatar from the HeyGen interactive avatar page and show it on a basic web page. The avatar appears and if I type things into the text box and hit send, the avatar can "hear" that and respond, based on the knowledge base I created. I have allowed my microphone on the page and the browser correctly prompts for permission. The code is not erroring in the console but the avatar just can't hear me speak. Is there a code snippet that gets this working? The web page is just a HTML page with embedded JavaScript - no back end or server components. The problem seems to be how the audio track is connected the room or the session. Really hoping someone can help me as I'm burning credits with all my attempts! Thanks