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

recorder.start().then doesn't work #1224

Open
smpial opened this issue Feb 2, 2024 · 1 comment
Open

recorder.start().then doesn't work #1224

smpial opened this issue Feb 2, 2024 · 1 comment

Comments

@smpial
Copy link

smpial commented Feb 2, 2024

I want to perform actions after the recorder has started.
I tried await recorder.start(), the result is an infinite wait.
I also tried recorder.start().then(()=>{console.log('recorder started')}), but "recorder started" is only output when I write recorder.stop().
Am I doing something wrong or is this how it should be?

@freelimbs
Copy link

You must emit a sound after you start recording, then it'll work. I know, it's ultra unexpected.

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