obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Feature Request: Add support for audio monitoring device API calls

Open HeyyItsBran opened this issue 3 years ago • 5 comments

Issue type

Feature request

Description

Please could you add support for accessing the enum_audio_monitoring_devices, set_audio_monitoring_device, and get_audio_monitoring_device API calls? This would allow the user to change monitoring device through Websockets

Technical information
  • Operating System : Linux Mint 20.2
  • OBS Studio version : 27.0.1
  • obs-websocket version : 4.9.1

HeyyItsBran avatar Jul 18 '21 18:07 HeyyItsBran

I'll have to look into the logistics, but this sounds reasonable enough to implement in v5.

Something like GetAudioMonitorDeviceList GetCurrentAudioMonitorDevice SetCurrentAudioMonitorDevice

tt2468 avatar Jul 18 '21 18:07 tt2468

Along with something like SetInputMonitorVolume would be great too. Or is this completely different and I should open another issue?

ChristopheCVB avatar Nov 19 '22 23:11 ChristopheCVB

Along with something like SetInputMonitorVolume would be great too. Or is this completely different and I should open another issue?

Does OBS currently support this? I'm not aware of that kind of functionality.

tt2468 avatar Nov 19 '22 23:11 tt2468

No my bad, it's a plugin called Audio Monitor. It was a user that asked me to implement that but I wasn't aware that it was provided by a plugin. In that subject, how can OBS plugins extend the possibility of the WS API? Is that what the Vendors are supposed to be?


I just read the documentation and got my answer. (cf VendorEvent and CallVendorRequest)

ChristopheCVB avatar Nov 20 '22 00:11 ChristopheCVB

would love this feature as mentioned in original post : enum_audio_monitoring_devices, set_audio_monitoring_device, and get_audio_monitoring_device would really help as devices seem to change IDs every windows updates

kaymyst avatar Dec 05 '22 13:12 kaymyst