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:
Rebuilding the native dependency with electron-rebuild: running electron-rebuild directly on the root of the project fails to find speech-recorder as a native depency, for some reason.
Rebuilding the native dependency with electron-builder, which uses electron-rebuild: it finds the dependency and installs it from a prebuilt release provided by you, which is the scenario that leads to the crash. I have tried to provide the buildDependenciesFromSource config, but it fails to find the dependencies under lib/install (as it doesn't run the provided setup and build scripts)
Building speech-recorder from scratch by cloning the repo: I have tried to build the repo on Windows with MSYS and CygWin, but stumbled upon errors on both. Is there a recommended setup for building from scratch on Windows? I am not yet able to run my application on linux, but I could try that if it helps.
It would be great if someone could point me on the right direction. I would be happy to contribute in any way I can.
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:
buildDependenciesFromSource
config, but it fails to find the dependencies under lib/install (as it doesn't run the provided setup and build scripts)It would be great if someone could point me on the right direction. I would be happy to contribute in any way I can.