mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
we should restart asr timer after a partial transcript (#735)
This commit is contained in:
@@ -909,6 +909,9 @@ class TaskGather extends SttTask {
|
|||||||
this._sonioxTranscripts.push(evt.vendor.finalWords);
|
this._sonioxTranscripts.push(evt.vendor.finalWords);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* restart asr timer if we get a partial transcript */
|
||||||
|
if (this.isContinuousAsr) this._startAsrTimer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_onEndOfUtterance(cs, ep) {
|
_onEndOfUtterance(cs, ep) {
|
||||||
|
|||||||
Reference in New Issue
Block a user