OBS-Websocket setup and macros
By Michael Powell @Michael_Powell
Title
OBS-Websocket setup and macros
What do you expect to happen when you run the script/macro?
Change scene in OBS to On-Air, want this to be part of a Record-button press. IE
press record on stream deck
pro tools goes into record
obs changes scene to on-air
on stop
pro tools stops
obs changes scene to off-air
Are you seeing an error?
nothing happens in obs.
What happens when you run this script?
no websocket communication
How were you running this script?
I clicked the "Run Script" or "Run Macro" button in SoundFlow
How important is this issue to you?
5
Details
{ "inputExpected": "Change scene in OBS to On-Air, want this to be part of a Record-button press. IE\n\npress record on stream deck\npro tools goes into record\nobs changes scene to on-air\n\non stop\npro tools stops\nobs changes scene to off-air", "inputIsError": true, "inputError": "nothing happens in obs. ", "inputWhatHappens": "no websocket communication", "inputHowRun": { "key": "-MpfwYA4I6GGlXgvp5j1", "title": "I clicked the \"Run Script\" or \"Run Macro\" button in SoundFlow" }, "inputImportance": 5, "inputTitle": "OBS-Websocket setup and macros" }
Source
//Macro converted to script
//Calling command "Scene On-Air" from package "OBS" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ck8ue121e0000f710c9srf3ct/ckxdsnehd0000f8107tvug9hy")
sf.soundflow.runCommand({
commandId: 'user:clkoah9us0000k110sxaoavwa:ckbl0750p0004y5108y09im1w#clkoh15wd0008ke108o7m3547',
props: {}
});
Links
User UID: 5nNh1T58FeYJR2KQ6gSHGbpjOvr2
Feedback Key: sffeedback:5nNh1T58FeYJR2KQ6gSHGbpjOvr2:-Na_SZByc2-M9Or_fJZS