From c77bd84e0e1caab052da5027acac566cf8e9f1d2 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 30 Apr 2024 14:53:08 -0400 Subject: [PATCH] we should restart asr timer after a partial transcript (#735) --- lib/tasks/gather.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 65b08da2..9230feb1 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -909,6 +909,9 @@ class TaskGather extends SttTask { this._sonioxTranscripts.push(evt.vendor.finalWords); } } + + /* restart asr timer if we get a partial transcript */ + if (this.isContinuousAsr) this._startAsrTimer(); } } _onEndOfUtterance(cs, ep) {