Description
I have a react app that is inside of Electron. I am trying to init()
but it cannot see the path to the files. I have it working on the develop side by using webpack to put them in the window.location.origin
for the dev server, and that works fine. But the way Electron works is different in Prod. I am doing the necessary steps to make the files available in Electron and can view the files just fine in the code. But when I pass that path (and variations of that path) the SDK cannot find them, even though they are there. Since there is no github for me to look at I have no idea what mechanism you are using to collect these files. The paths that I have tried are
file://Volumes/Nipper%200.86.1/Nipper.app/Contents/Resources/lib
/Volumes/Nipper%200.86.1/Nipper.app/Contents/Resources/lib
Any thoughts on why it doesn’t reach the files? Is it possible for someone to let me know what sort of mechanism (what is the code) for retrieving these files? I am using path.join(process.resourcesPath, 'lib')
in the code and I see all the files are there.
Which Web Video SDK version?
Video SDK 1.0.3