You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this plugin with obs-studio-node and I am having a compatibility issue. Obs-studio-node essentially wraps libobs so it is compatible with NodeJS and Electron. I was hoping you could point me in the right direction to solving it because I am not very experienced with OBS development.
I had to rebuild obs-virual-cam-filter to change the output type on this line in the code
This changes the output type from "virtualcam_output" to "virtual_output" to work with obs-studio-node. Then I put the dll in the /obs-studio-node/obs-plugins/64bit/ folder. The module loads without any errors in the logs!
Then I add the plugin to a source with the following (Javascript):
...
[CODE HERE CREATES THE SOURCE obsCameraInput WHICH WORKS CORRECTLY]
...
const vcFilter = osn.FilterFactory.create('virtual_cam_filter', 'virtcam');
obsCameraInput.addFilter(vcFilter);
This gives the following output in the logs
[000:00:00:03.809.769.000][Debug] output 'virtualcam_output_filter' (virtual_output) created
[000:00:00:03.809.794.400][Debug] private source 'virtcam' (virtual_cam_filter) created
[000:00:00:03.810.217.400][Debug] - filter 'virtcam' (virtual_cam_filter) added to source 'camera-video'
[000:00:00:03:810.842.400][Debug] starting virtual-output on VirtualCam'1'
Then it crashes with no more output.
Any ideas on what to try next?
The text was updated successfully, but these errors were encountered:
I am trying to use this plugin with obs-studio-node and I am having a compatibility issue. Obs-studio-node essentially wraps libobs so it is compatible with NodeJS and Electron. I was hoping you could point me in the right direction to solving it because I am not very experienced with OBS development.
I had to rebuild obs-virual-cam-filter to change the output type on this line in the code
to
This changes the output type from "virtualcam_output" to "virtual_output" to work with obs-studio-node. Then I put the dll in the /obs-studio-node/obs-plugins/64bit/ folder. The module loads without any errors in the logs!
Then I add the plugin to a source with the following (Javascript):
This gives the following output in the logs
Then it crashes with no more output.
Any ideas on what to try next?
The text was updated successfully, but these errors were encountered: