Discussions
Heygen Avatar Starts and streamReady Fires, But Still Stuck on "Waiting for Response"
1 day ago by null
I'm using avatar.createStartAvatar() to start the Heygen avatar with high quality, voice, and language settings. The avatar starts successfully — I can speak with it, and the streamReady event is also fired. However, the app remains stuck on "Waiting for response" and doesn't proceed.
Even though the avatar is clearly working, when I stop the streaming, it throws an error. This issue happens frequently.
const sessionData = await avatar.createStartAvatar({
quality: AvatarQuality.High,
avatarName: avatar_id,
...(languageValue && { language: languageValue }),
...(voice_id && {
voice: {
voiceId: voice_id,
// rate: 1.5,
// emotion: VoiceEmotion.EXCITED,
}
}),
});