mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
custom stt vendor ws connection should not be closed in asrTimeout (#973)
This commit is contained in:
@@ -846,8 +846,10 @@ class TaskGather extends SttTask {
|
|||||||
this._startAsrTimer();
|
this._startAsrTimer();
|
||||||
|
|
||||||
/* some STT engines will keep listening after a final response, so no need to restart */
|
/* some STT engines will keep listening after a final response, so no need to restart */
|
||||||
if (!['soniox', 'aws', 'microsoft', 'deepgram', 'speechmatics']
|
if (!['soniox', 'aws', 'microsoft', 'deepgram', 'speechmatics'].includes(this.vendor) &&
|
||||||
.includes(this.vendor)) this._startTranscribing(ep);
|
!this.vendor.startsWith('custom')) {
|
||||||
|
this._startTranscribing(ep);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* this was removed to fix https://github.com/jambonz/jambonz-feature-server/issues/783 */
|
/* this was removed to fix https://github.com/jambonz/jambonz-feature-server/issues/783 */
|
||||||
|
|||||||
Reference in New Issue
Block a user