Setting device_id with websocket (don't know what value to set)

fhenus

New Member
I'm developing some stream deck plugins, and since I use a lot of virtual audio cables, my source configuration normally gets reset and my audio sources all point to the "default" audio device. Since I'm also using USB devices some ids may come directly from windows. I've manage to retrieve the list of ids from windows, but don't actually understand the value that OBS sets on the device_id property of sources, it just looks like a bunch of random guids and keys.

AFAIK there is not function on websocket to retrieve the list of devices and it's information. Does someone have any pointer on how to retrieve those ids or even set the value properly?
 
Top