Skip to content
AnkhHeart edited this page Feb 25, 2018 · 1 revision

Change your Scene on OBS

Function

void SetOBSCurrentScene(string sceneName, Action<string> callback = null)

Use in Python

Parent.SetOBSCurrentScene("MainScene", callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Show/Hide a Source in OBS

Function

void SetOBSSourceRender(string source, bool render, string sceneName = null, Action<string> callback = null)

Use in Python

Parent.SetOBSSourceRender("Camera", false, "MainScene",callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Stop the Stream

Function

void StopOBSStreaming(Action<string> callback = null)

Use in Python

Parent.StopOBSStreaming(callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Retrieve all Audio Sources

Function

void GetOBSSpecialSources(Action<string> callback)

Use in Python

Parent.GetOBSSpecialSources(callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Control the Volume of an OBS Source

Function

void SetOBSVolume(string source, double volume, Action<string> callback = null)

Use in Python

Parent.SetOBSVolume("Source",100,callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Mute a Specific Source in OBS

Function

void GetOBSMute(string source, Action<string> callback)

Use in Python

Parent.GetOBSMute("Source",callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Toggle the Mute State of a Specific OBS Source

Function

void SetOBSMute(string source, bool mute, Action<string> callback = null)

Use in Python

Parent.SetOBSMute("Source",false,callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Choose the Mute State

Function

void SetOBSMute(string source, bool mute, Action<string> callback = null)

Use in Python

Parent.SetOBSMute("Source",false,callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return

Toggle Mute of a Specific OBS Source

Function

void ToggleOBSMute(string source, Action<string> callback = null)

Use in Python

Parent.ToggleOBSMute("Source",callback)

def callback(jsonString):
   # Return the Json String that OBS returns
   return
Clone this wiki locally