support google v2 enableVoiceActivityEvents (#703)

* support google v2 enableVoiceActivityEvents

* support google v2 enableVoiceActivityEvents
This commit is contained in:
Hoan Luu Huu
2024-04-02 21:14:54 +07:00
committed by GitHub
parent 93d0e41e31
commit 72147a8110
3 changed files with 11 additions and 8 deletions

View File

@@ -534,6 +534,9 @@ module.exports = (logger) => {
}),
...(rOpts.googleOptions?.transcriptNormalization && {
GOOGLE_SPEECH_TRANSCRIPTION_NORMALIZATION: JSON.stringify(rOpts.googleOptions.transcriptNormalization)
}),
...(rOpts.googleOptions?.enableVoiceActivityEvents && {
GOOGLE_SPEECH_ENABLE_VOICE_ACTIVITY_EVENTS: rOpts.googleOptions.enableVoiceActivityEvents
})
}),
};

14
package-lock.json generated
View File

@@ -18,7 +18,7 @@
"@jambonz/speech-utils": "^0.0.44",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.66",
"@jambonz/verb-specifications": "^0.0.67",
"@opentelemetry/api": "^1.4.0",
"@opentelemetry/exporter-jaeger": "^1.9.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.35.0",
@@ -3514,9 +3514,9 @@
}
},
"node_modules/@jambonz/verb-specifications": {
"version": "0.0.66",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.66.tgz",
"integrity": "sha512-K1+7PCoKAEw/sOhqRFD6FjZHt/G9I0kaM24Zrh//W1zblc9jXvg8YIn1Hwx94yXemWMkqNNrmJsnyL9haOi5rg==",
"version": "0.0.67",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.67.tgz",
"integrity": "sha512-xzojbx92BUosrdaCqECZEU/mCW8ImM78VI3VWy5aEoK+1A5ZDoRiUsLGyxoKvBCEVBGwHF3Q2tQMgnWUUbqtKA==",
"dependencies": {
"debug": "^4.3.4",
"pino": "^8.8.0"
@@ -14183,9 +14183,9 @@
}
},
"@jambonz/verb-specifications": {
"version": "0.0.66",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.66.tgz",
"integrity": "sha512-K1+7PCoKAEw/sOhqRFD6FjZHt/G9I0kaM24Zrh//W1zblc9jXvg8YIn1Hwx94yXemWMkqNNrmJsnyL9haOi5rg==",
"version": "0.0.67",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.67.tgz",
"integrity": "sha512-xzojbx92BUosrdaCqECZEU/mCW8ImM78VI3VWy5aEoK+1A5ZDoRiUsLGyxoKvBCEVBGwHF3Q2tQMgnWUUbqtKA==",
"requires": {
"debug": "^4.3.4",
"pino": "^8.8.0"

View File

@@ -34,7 +34,7 @@
"@jambonz/speech-utils": "^0.0.44",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.66",
"@jambonz/verb-specifications": "^0.0.67",
"@opentelemetry/api": "^1.4.0",
"@opentelemetry/exporter-jaeger": "^1.9.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.35.0",