I wonder what is best solution to get browser source with "admin" panel for OBS.
What chat suggested me is to use docks and BroadcastChannel. It is nice and clean, but have one problem (for me)
(I can create "main data object" with all values, and sending it always thru broadcastChannel, I think this would be best/clean solution as far I think)
I also checked websockets, but the problem is the same as above.
Lastly I did it in a dirty way - render bigger page, but crop it for displaying, and using "interaction" to view both render and panel at the same time. Also opened third window with only browser, to keep it active even if scene is changed.
Why?
My method allow me to use only one instance of data. I want to create "game", with players, points, etc. Using my method i can manipulate lists and display it from one source. Timers, actions, all in one. I dont need to make special functions to update data, sending data, watching for timed events, everything is just here. I'm already getting some outside data (from youtube chat) so I want to minimalise complexity.
Maybe there is another good solution for task like this?
What chat suggested me is to use docks and BroadcastChannel. It is nice and clean, but have one problem (for me)
(I can create "main data object" with all values, and sending it always thru broadcastChannel, I think this would be best/clean solution as far I think)
I also checked websockets, but the problem is the same as above.
Lastly I did it in a dirty way - render bigger page, but crop it for displaying, and using "interaction" to view both render and panel at the same time. Also opened third window with only browser, to keep it active even if scene is changed.
Why?
My method allow me to use only one instance of data. I want to create "game", with players, points, etc. Using my method i can manipulate lists and display it from one source. Timers, actions, all in one. I dont need to make special functions to update data, sending data, watching for timed events, everything is just here. I'm already getting some outside data (from youtube chat) so I want to minimalise complexity.
Maybe there is another good solution for task like this?