From f182c1cbee16e9a21546d7c9fde8e8dec1954d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?th=E1=BB=8Bnh?= Date: Tue, 9 Dec 2025 00:09:29 +0700 Subject: [PATCH] increase the stt inactivity timeout threshold due to the instability of audio bytes on some 3rd devices --- backend/routers/transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/transcribe.py b/backend/routers/transcribe.py index 4320ad73592..59dcfcaf6f6 100644 --- a/backend/routers/transcribe.py +++ b/backend/routers/transcribe.py @@ -315,7 +315,7 @@ def _send_message_event(msg: MessageEvent): # Heart beat started_at = time.time() - inactivity_timeout_seconds = 30 + inactivity_timeout_seconds = 90 last_audio_received_time = None # Send pong every 10s then handle it in the app \