Open eusthace811 opened 8 months ago
Let me know if you can help here, I couldn't figure out yet.
I think we would need to move VAD off of the custom hook and use the vad-web library itself to be able to enable/disable it. If you're interested in figuring it out, you may want to look at ricky0123/vad for JavaScript (not React/Next.js) and see about how you might use that in our own custom hook, or see if he has a way to enable/disable the library from the options
Proposed changes
Deactivate barge-in
Context
At times (e.g. Educational content), it's necessary to ensure that the queue is processed without interruptions. Currently, adding messages to the queue can cause disruptions, leading to the current audio being interrupted and restarted.
BTW Love your work Guys.
Thanks.