Envek / obs-studio-node-example

Learn how to use OBS Studio from your Electron app for screen video recording
GNU General Public License v2.0
99 stars 19 forks source link

added virtual camera controls #43

Closed hrueger closed 3 years ago

hrueger commented 3 years ago

Hi, while recently digging through Streamlabs OBS's code, I found some methods for controlling the virtual camera plugin. It is quite easy to use. This PR adds control buttons for installing the plugin, starting and stopping the camera as well as uninstalling it. grafik

Envek commented 3 years ago

Whoa! Thank you! I will take a look a bit later this week.

hrueger commented 3 years ago

Hm, for me it basically works out of the box. I clicked the "install" button and have to input my admin password twice. Then I click start and the camera shows up, for example in Zoom.

However, the camera is labeled "Streamlabs OBS Virtual Camera". Maybe some registration has already been done by Streamlabs OBS from my testing?

I'll check tomorrow.

Envek commented 3 years ago

Oh, yes, now I can see my screen as picture from "Streamlabs OBS Virtual Camera" in other apps.

Just please add a section to README with that.

hrueger commented 3 years ago

OK, I will. Do you have any idea why it shows up as Streamlabs OBS Virtual Camera? The relevant code in obs-studio-node is here, however, there's no hardcoded Streamlabs OBS Virtual Camera...