initial commit

This commit is contained in:
onyx-and-iris
2022-10-22 22:30:40 +01:00
parent f85489e358
commit ae4956f625
20 changed files with 1581 additions and 0 deletions

17
main.rb Normal file
View File

@@ -0,0 +1,17 @@
require_relative "lib/obsws"
def main
r_client =
OBSWS::Requests::Client.new(
host: "localhost",
port: 4455,
password: "strongpassword"
)
r_client.run do
# Toggle the mute state of your Mic input
r_client.toggle_input_mute("Mic/Aux")
end
end
main if $0 == __FILE__