mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-22 01:27:55 +00:00
more logs
This commit is contained in:
@@ -197,6 +197,7 @@ class TaskGather extends Task {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async _initSpeech(cs, ep) {
|
async _initSpeech(cs, ep) {
|
||||||
|
this.logger.info("started listening on speech events initSpeechEnter");
|
||||||
const opts = {};
|
const opts = {};
|
||||||
|
|
||||||
if (this.vad.enable) {
|
if (this.vad.enable) {
|
||||||
@@ -257,7 +258,7 @@ class TaskGather extends Task {
|
|||||||
ep.addCustomEventListener(AzureTranscriptionEvents.Transcription, this._onTranscription.bind(this, cs, ep));
|
ep.addCustomEventListener(AzureTranscriptionEvents.Transcription, this._onTranscription.bind(this, cs, ep));
|
||||||
ep.addCustomEventListener(AzureTranscriptionEvents.NoSpeechDetected, this._onNoSpeechDetected.bind(this, cs, ep));
|
ep.addCustomEventListener(AzureTranscriptionEvents.NoSpeechDetected, this._onNoSpeechDetected.bind(this, cs, ep));
|
||||||
}
|
}
|
||||||
this.logger.info("started listening on speech events");
|
this.logger.info("started listening on speech events initSpeechDone");
|
||||||
await ep.set(opts)
|
await ep.set(opts)
|
||||||
.catch((err) => this.logger.info(err, 'Error setting channel variables'));
|
.catch((err) => this.logger.info(err, 'Error setting channel variables'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user