I tried to connect to websocket, but how can I receive the scene switching message? Thank you.You could connect to OBS's WebSocket server. It already has that hook.
View attachment 98366
Or you could use the Advanced Scene Switcher plugin to do almost anything you want in response to anything:
In your case, it might look something like this:Advanced Scene Switcher
This plugin will allow you to automate various tasks using "Macros". Macros consist of a list of conditions under which a list of actions will be performed. Examples and guides can be found in the wiki. Feel free to contribute! If you run...obsproject.com
View attachment 98365
I only get a message that the connection was successfulI tried to connect to websocket, but how can I receive the scene switching message? Thank you.
This was enough for me to make a python script:I tried to connect to websocket, but how can I receive the scene switching message? Thank you.
This was enough for me to make a python script:
Maybe you can adapt it to what you're doing?