obs-websocket-community-projects / obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket
MIT License
657 stars 95 forks source link

How to get the virtual camera data flow #317

Closed natamox closed 1 year ago

natamox commented 1 year ago

I have Google in the following code

obs.getSceneItemProperties({ 'scene-name': 'My Scene', 'item-name': 'My Virtual Camera' }).then(data => { console.log(data); // Outputs the properties of the virtual camera }).catch(err => { console.error(err); });

but it does not work

image