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

Add VAD platform capability through webrtcvad #190

Merged
merged 1 commit into from
May 21, 2021
Merged

Conversation

ad31c0
Copy link
Contributor

@ad31c0 ad31c0 commented May 10, 2021

No description provided.

process(chunk) {
if (!this._instance)
return false;
return this._instance.process(chunk);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this running synchronously in the nodejs thread? Should we use a Worker thread instead?

Copy link
Contributor

@gcampax gcampax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After discussion, it's likely that running VAD sync in the main thread is good enough because VAD buffers are small. We'll revisit with a Worker later if it turns out to be an issue.

@gcampax gcampax merged commit 6ef72cb into master May 21, 2021
ad31c0 added a commit that referenced this pull request May 24, 2021
ad31c0 added a commit that referenced this pull request May 24, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants