mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
Fix/playback race by fs generates playback (#1331)
* update to speech-utils that generates playback id * modify tts and say task to track current playback id and match against start and stop events * bump speech utils * wip * wip * fix race condition where say with playbackId gets stop event from previous play from cache file * logging * wip * fix comparison when playing cached files * logging
This commit is contained in:
@@ -1017,8 +1017,6 @@ class CallSession extends Emitter {
|
||||
(type === 'tts' && credential.use_for_tts) ||
|
||||
(type === 'stt' && credential.use_for_stt)
|
||||
)) {
|
||||
this.logger.debug(
|
||||
`${type}: ${credential.vendor} ${credential.label ? `, label: ${credential.label}` : ''} `);
|
||||
if ('google' === vendor) {
|
||||
if (type === 'tts' && !credential.tts_tested_ok ||
|
||||
type === 'stt' && !credential.stt_tested_ok) {
|
||||
|
||||
Reference in New Issue
Block a user