hrueger / AGView

The live on-the-fly event video player.
MIT License
3 stars 2 forks source link

When I add a camera resource, how to choose it #55

Closed hamburger-l closed 3 years ago

hamburger-l commented 3 years ago
// tell OBS which sceneItems are selected 

scene.getObsScene().getItems().forEach(obsSceneItem => {
      obsSceneItem.selected = activeObsIds.includes(obsSceneItem.id);
 });

I saw this code in the streamlabs-obs project, and then the scene-item on the interface was selected, but after I set the selected of my scene-item to true, the same effect could not appear

hrueger commented 3 years ago

HI @bbc-594, I don't completely understand what you're trying to do ;-) As I think it is not about AGView but rather about obs-studio-node, could you please move that issue to https://github.com/Envek/obs-studio-node-example? This is where we all test and try to reverse engineer obs-studio-node. Thanks!

hamburger-l commented 3 years ago

HI @bbc-594, I don't completely understand what you're trying to do ;-) As I think it is not about AGView but rather about obs-studio-node, could you please move that issue to https://github.com/Envek/obs-studio-node-example? This is where we all test and try to reverse engineer obs-studio-node. Thanks!

ok, thank you