refactor of speech-utils (#123)

This commit is contained in:
Dave Horton
2023-03-14 10:01:05 -04:00
committed by GitHub
parent 3d86292a90
commit aea7388ba0
5 changed files with 1996 additions and 53 deletions

7
app.js
View File

@@ -41,11 +41,16 @@ const {
addKey,
retrieveKey,
deleteKey,
getTtsVoices
} = require('@jambonz/realtimedb-helpers')({
host: process.env.JAMBONES_REDIS_HOST || 'localhost',
port: process.env.JAMBONES_REDIS_PORT || 6379
}, logger);
const {
getTtsVoices
} = require('@jambonz/speech-utils')({
host: process.env.JAMBONES_REDIS_HOST || 'localhost',
port: process.env.JAMBONES_REDIS_PORT || 6379
}, logger);
const {
lookupAppBySid,
lookupAccountBySid,