mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
fixed gather should ignore transcription if task is killed/resolved. (#1465)
* fixed gather should ignore transcription if task is killed/resolved. * wip
This commit is contained in:
@@ -1318,6 +1318,8 @@ class TaskGather extends SttTask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.resolved = true;
|
this.resolved = true;
|
||||||
|
// gather is resolved, prevent any further transcription events while resolve in progress
|
||||||
|
this.removeCustomEventListeners();
|
||||||
// If bargin is false and ws application return ack to verb:hook
|
// If bargin is false and ws application return ack to verb:hook
|
||||||
// the gather should not play any audio
|
// the gather should not play any audio
|
||||||
this._killAudio(this.cs);
|
this._killAudio(this.cs);
|
||||||
|
|||||||
Reference in New Issue
Block a user