fix(voice): expand speech buffer to 60s, handle 2.1 cancellation race, and bound cleanup

- Expand max_input_buffer_bytes to 3,072,000 (64s at 24kHz PCM16) with 65s fixed deadline
- Broaden response_cancel_not_active race classifier to include gpt-realtime-2.1/shimmer
- Add transport abort method and bound cleanup waits during websocket close
- Record repair progress in docs/plans/live-conversation-repair-progress.md
This commit is contained in:
amirhosein mazaheri
2026-10-12 18:51:06 +03:30
parent d493752b81
commit 9e6864ae2a
14 changed files with 203 additions and 19 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ input-consumption evidence. No synthetic silence acknowledgment was introduced.
Admission checks the prospective speech total and existing transport reservations
independently. A delayed start identifying an already over-limit interval fails
immediately. Each genuine start installs one fixed wall deadline:
max_input_buffer_bytes / 48000 seconds (10 by default). Duplicate starts cannot
an independent 65 seconds. The detected interval allows 64 seconds / 3072000 bytes by default, including VAD padding. Duplicate starts cannot
restart it. Missing stop therefore fails even if no further PCM arrives.
Correlated stop freezes the interval and retains the existing 15-second commit
deadline. Early commit remains pending until the validated stop boundary exists.