Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to deactivate barge-in #27

Open
eusthace811 opened this issue Mar 21, 2024 · 2 comments
Open

Option to deactivate barge-in #27

eusthace811 opened this issue Mar 21, 2024 · 2 comments

Comments

@eusthace811
Copy link

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.

@eusthace811
Copy link
Author

eusthace811 commented Mar 22, 2024

Let me know if you can help here, I couldn't figure out yet.

@lukeocodes
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants