serenadeai / speech-recorder

speech-recorder is a node.js module for streaming audio from a device's microphone and filtering for speech.
MIT License
87 stars 20 forks source link

Crash in electron application #30

Open dsouza95 opened 1 year ago

dsouza95 commented 1 year ago

First of all, kudos to all contributors, the VAD and recording are great!

I am trying to use the recorder on an electron application, but after trying several different approaches I figured I needed some help. It works fine in development, but when I build the production version of the same app it crashes (with no exceptions thrown), with the dump file pointing to somewhere in the speech-recorder dll. It works fine as a simple node application as well. I would be happy to provide the dump file if it helps.

I have tried a couple diferent things:

It would be great if someone could point me on the right direction. I would be happy to contribute in any way I can.

tmacwill commented 1 year ago

apologies for the delayed response here! I believe your diagnosis and fix in #31 are correct. will read through + comment on that PR!