obsws-ruby/main.rb
onyx-and-iris 23d64ef9d8 test files renamed with test_ prefix
error tests added

Rakefile updated with new test file names

event tasks moved into :e namespace
2023-08-11 14:44:51 +01:00

17 lines
320 B
Ruby

require "obsws"
class Main
def run
OBSWS::Requests::Client.new(
host: "localhost",
port: 4455,
password: "strongpassword"
).run do |client|
# Toggle the mute state of your Mic input
client.toggle_input_mute("Mic/Aux")
end
end
end
Main.new.run if $PROGRAM_NAME == __FILE__