@jambonz/speech-utils 0.0.46 → 0.0.47

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.
@@ -141,7 +141,7 @@ async function synthAudio(client, logger, stats, { account_sid,
141
141
  let filePath;
142
142
  if (['nuance', 'nvidia'].includes(vendor) ||
143
143
  (
144
- process.env.JAMBONES_TTS_TRIM_SILENCE &&
144
+ (process.env.JAMBONES_TTS_TRIM_SILENCE || !process.env.JAMBONES_DISABLE_TTS_STREAMING) &&
145
145
  ['microsoft', 'azure'].includes(vendor)
146
146
  ) ||
147
147
  (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",