This commit is contained in:
Dave Horton
2024-08-16 14:54:22 -04:00
committed by GitHub
parent c131fceea7
commit 68992bccf6

View File

@@ -891,8 +891,9 @@ class TaskGather extends SttTask {
if (this._timeoutTimer) {
this._startTimer();
}
/* restart asr timer if we get a partial transcript */
if (this.isContinuousAsr) this._startAsrTimer();
/* restart asr timer if we get a partial transcript (only if the asr timer is already running) */
/* note: https://github.com/jambonz/jambonz-feature-server/issues/866 */
if (this.isContinuousAsr && this._asrTimer) this._startAsrTimer();
}
}
_onEndOfUtterance(cs, ep) {