play verb: fix race condition where play canceled immediately after start

This commit is contained in:
Dave Horton
2025-05-01 11:50:40 -04:00
parent 8b18532f31
commit a19cc9c962
3 changed files with 12 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ class TaskLlmUltravox_S2S extends Task {
async _onServerEvent(_ep, evt) {
let endConversation = false;
const type = evt.type;
this.logger.debug({evt}, 'TaskLlmUltravox_S2S:_onServerEvent');
//this.logger.debug({evt}, 'TaskLlmUltravox_S2S:_onServerEvent');
/* server errors of some sort */
if (type === 'error') {