We're running into repeated warnings: "max_buffere...
# agents
b
We're running into repeated warnings: "max_buffered_speech reached, ignoring further data for the current speech input" This appears to be because the default max_buffered_speech is 60 seconds, but in our usecase, sometimes there may be silence for more than a minute(or people talking for more than a minute). Is this the intended behavior? It's causing silent data loss where we only get the first 60 seconds of longer speech segments. Should we set vad = silero.VAD.load(max_buffered_speech=600.0) ??? Or is that going to cause some RAM issues?
claude says there's a bug here https://docs.livekit.io/reference/python/livekit/plugins/silero/index.html#:~:text=speech_buffer_max_reached%20%3D%20True and that it should be The speech_buffer_max_reached = True line has a bug - it should be self._speech_buffer_max_reached = True (missing self.).
I guess that's causing the spamming of logs?
@refined-appointment-81829 can we get some eyeballs on this when u get a chance :))
r
Good question. I am not really sure on this one
I would say test it and measure memory differences and see if it fits with in your load needs
b
sorry, more so on the first part, i'm getting the speech buffer log spammed!