Discussions

Ask a Question
Back to All

Max Length for single message - STT providers (Gladia/Deepgram)

I've had a few users report issues when their messages are particularly long in length.

For example, when the user's message is several minutes long.

The users say that after this, the avatar stops responding, almost like it's either processing the message or has got stuck.

We have disableIdleTimeout = true - So it shouldn't be causing any issues.

I wondered if the STT providers enforce a maximum limit on each message.

In the Gladia docs, I saw this:

"Maximum Duration Without Endpointing: By default, Gladia's real-time STT sessions are configured with a maximum_duration_without_endpointing parameter set to 10 seconds. This means that if no endpoint (i.e., a pause in speech) is detected within 10 seconds, the system will automatically process the audio received up to that point."

Haven't checked Deepgram.

Is there any limit on STT length?

If so, it would be good to know what the limit is so that I can advise users to be more brief or show a message when they have been speaking for "too long"