You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rather waitinf for the interim result which comes after every 1 second . can we use this speech started event
or will it make some waste requests or use less requests ,
can u suggest me why have not used this vad events = true for this case . is it not a good idea to follow .
The text was updated successfully, but these errors were encountered:
else {
console.log(
deepgram STT: [Interim Result] ${transcript}
);if (speaking) {
console.log('twilio: clear audio playback', streamSid);
// Handles Barge In
const messageJSON = JSON.stringify({
"event": "clear",
"streamSid": streamSid,
});
mediaStream.connection.sendUTF(messageJSON);
mediaStream.deepgramTTSWebsocket.send(JSON.stringify({ 'type': 'Clear' }));
speaking = false;
}
}
}
or will it make some waste requests or use less requests ,
can u suggest me why have not used this vad events = true for this case . is it not a good idea to follow .
The text was updated successfully, but these errors were encountered: