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

Fix: Stop Audio Stream on Destroy #72

Merged

Conversation

IhorPeresunko
Copy link
Contributor

Right now the browser continues to show that recording is in progress, even after a destroy call. This is happening because if no stream is provided, the library creates its own stream but does not stop it during the destroy phase.

The cleanup issue has been resolved by stopping all tracks on the stream during the destroy process.

@ricky0123 ricky0123 merged commit 31b3fee into ricky0123:master Dec 23, 2023
@ricky0123
Copy link
Owner

Fantastic, thanks @IhorPeresunko !

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.

2 participants