module

Obsctl::OBS::Requests::Audio

Request names and payload builders for OBS audio input operations.

Constants

GET_INPUT_LIST = "GetInputList"
GET_INPUT_MUTE = "GetInputMute"
GET_INPUT_VOLUME = "GetInputVolume"
SET_INPUT_MUTE = "SetInputMute"
SET_INPUT_VOLUME = "SetInputVolume"
TOGGLE_INPUT_MUTE = "ToggleInputMute"

Class methods

input_name(name : String) : JSON::Any

Builds payload for requests that target one input by OBS name.

Source
set_mute(name : String, muted : Bool) : JSON::Any

Builds payload for SetInputMute.

Source
set_volume(name : String, multiplier : Float64) : JSON::Any

Builds payload for SetInputVolume using obs-websocket multiplier units.

Source