Discussions
StartAvatarRequest - ignored language and disableIdleTimeout.
3 months ago by Viacheslav
Hello! In my project I use:
const newAvatar = new StreamingAvatar({
token: avatarToken,
onError: error => {
console.error('[AvatarSDK] SDK Error:', error)
},
})
const data = await newAvatar.createStartAvatar({
quality: AvatarQuality.High,
avatarName: avatarId,
voice: {
rate: 1.5, // 0.5 ~ 1.5
emotion: VoiceEmotion.SERIOUS,
},
language: 'ru',
disableIdleTimeout: true,
})
But, after 2-3 minutes of inactivity/silence - the avatar is still disconnected, and the language is not recognized - the avatar does not respond in the specified language.
p.s. My tariff plan is TEAM