@onereach/step-voice 7.0.9-processttschunk.23 → 7.0.9-processttschunk.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,20 +45,20 @@ class StartTTSChunksProcessing extends voice_1.default {
|
|
|
45
45
|
params
|
|
46
46
|
};
|
|
47
47
|
this.log.debug('StartTTSChunksProcessing command', { command });
|
|
48
|
-
this.triggers.local(`otel/voice/${call.id}`, async (event) => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
})
|
|
48
|
+
// this.triggers.local(`otel/voice/${call.id}`, async (event) => {
|
|
49
|
+
// this.log.info('Received OTel event from voicer', event.params)
|
|
50
|
+
// switch (event.params.type) {
|
|
51
|
+
// case 'tts-audio/started':
|
|
52
|
+
// case 'tts-audio/finished':
|
|
53
|
+
// case 'tts-audio/interrupted':
|
|
54
|
+
// case 'asr-input/started':
|
|
55
|
+
// case 'asr-input/ended':
|
|
56
|
+
// case 'asr-input/processed': {
|
|
57
|
+
// this.log.warn('Received asr/tts status event', event.params)
|
|
58
|
+
// return
|
|
59
|
+
// }
|
|
60
|
+
// }
|
|
61
|
+
// })
|
|
62
62
|
this.triggers.local(`in/voice/${call.id}`, async (event) => {
|
|
63
63
|
this.log.info('Received event from voicer', event);
|
|
64
64
|
switch (event.params.type) {
|