Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.69 KB

README.md

File metadata and controls

66 lines (47 loc) · 1.69 KB

VCam


Windows Virtual Camera

This is a modified version of the Virtual Camera module from within OBS, providing clients in C/C++ and Node.js.

Using Libobs or separating modules from OBS may not be a difficult task, but this project simplifies the process.

Building

This is a normal CMake project that follows the standard CMake generation steps.

mkdir build
cd build
cmake ..
cmake --build .

Node.js

The npm project automatically triggers the compilation process during the install phase.

cd napi
npm i

Usage

Firstly you need to register the DLL to the system service, this is a key step to get the virtual camera registered to the system.

regsvr32.exe /i /s "\to\path\vcam-service.dll"

The path to the actual DLL is based on your own situation.

If you don't need the virtual camera, i.e. unregister it, perform a similar operation.

regsvr32.exe /u /s "\to\path\vcam-service.dll"

Then you can use the vcam driver to output the screen to the virtual camera, this is an example of outputting a 1920x1080 empty screen.

License

MIT Copyright (c) 2024 Mr.Panda.