public Dictionary <string, object> SetShotOnLayer(int layer, int shot, int autolive) { WirecastAPI.SetShotForLayer(layer, shot); if (autolive != 0) { WirecastAPI.Take(); } return(new Dictionary <string, object> { ["ok"] = true, }); }
public Dictionary <string, object> SetShotsOnAllLayers(int shot1, int shot2, int shot3, int shot4, int shot5, int autolive) { WirecastAPI.SetShotForLayer(1, shot1); WirecastAPI.SetShotForLayer(2, shot2); WirecastAPI.SetShotForLayer(3, shot3); WirecastAPI.SetShotForLayer(4, shot4); WirecastAPI.SetShotForLayer(5, shot5); if (autolive != 0) { WirecastAPI.Take(); } return(new Dictionary <string, object> { ["ok"] = true, }); }