Discussions
How to Disable Streaming Avatar Timeout
Hello, I have a project with streaming avatar. i notice that the stream gets disconnected after a couple of minutes if there was no interaction with the avatar. But in the cases I observed the user was simply talking for a longer period of time (more then 2-3 minutes) but the avatar stream got disconnected.
How can I stop this disconnection?
I saw somewhere in your documentation that this can be disabled with optional parameter disableIdleTimeout: true
when startingAvatarRequest.
However this is the interface from your SDK and as you can see there is no disableIdleTimeout
parameter in there.
Can I do this some other way, like explicitelly telling avatar to start listening and not to stop the stream until I manually do so?
export interface StartAvatarRequest {
quality?: AvatarQuality;
avatarName: string;
voice?: {
voiceId?: string;
rate?: number;
emotion?: VoiceEmotion;
};
knowledgeId?: string;
language?: string;
knowledgeBase?: string;
}