mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-30 07:14:32 +00:00
emit vad event on partial transcript
This commit is contained in:
1 parent
c412554c6b
commit
a4e358596e
1 file changed
+1
@@ -430,6 +430,7 @@ class TaskGather extends Task {
|
||||
evt.alternatives[0].transcript.split(' ').length >= this.minBargeinWordCount) {
|
||||
if (!this.playComplete) {
|
||||
this.logger.debug({transcript: evt.alternatives[0].transcript}, 'killing audio due to speech');
|
||||
this.emit('vad');
|
||||
}
|
||||
this._killAudio(cs);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user