websoket for Java project

Inoora

New Member
Hello everyone, Im a new obs user
I have a maven java project that is running on the same machine where obs is installed
I want to start obs studio from my java code and then start replay buffer(not necessary but desirable)
And at some points of my code to call replay buffer to save video of last 30 seconds to my folder(necessary )

I have tried:
manually set up obs studio and shortcut for replay buffer
manually start replay buffer
use java robot.keyPress(and my shortcut here)
but somehow obs doesn't see key pressed and released by robot(although it works when I manually press my shortcut)

Now I see that there is websocket plugin and Java library for it
But I cant find any proper tutorials, my webcket doesn't seem to run at all, can someone help please?
 
Top