So I was trying to change the Volume using Web Socket. I was successfully able to get Volume, and even keep my device in Sync when the Volume is changed in OBS. But when I am try to set volume from device over at OBS, even when I am trying to set '1.0', it gets set to '0.0' in OBS.
For one request I am getting 1 Change JSON and 1 Acknowledgement JSON, for a single request, and Change JSON specifies the volume set to 0.0 even when I clearly mention it to be 1.0 in JSON.
Issue type
Other
Description
So I was trying to change the Volume using Web Socket. I was successfully able to get Volume, and even keep my device in Sync when the Volume is changed in OBS. But when I am try to set volume from device over at OBS, even when I am trying to set '1.0', it gets set to '0.0' in OBS.
Request JSON: {"request-type":"SetVolume","message-id":"m01","source":"Mic/Aux","volume":"1.0"}
For one request I am getting 1 Change JSON and 1 Acknowledgement JSON, for a single request, and Change JSON specifies the volume set to 0.0 even when I clearly mention it to be 1.0 in JSON.
RECEIVED JSON OBS API: onTextMessage: { "sourceName": "Mic/Aux", "update-type": "SourceVolumeChanged", "volume": 0.0 }
RECEIVED JSON OBS API: onTextMessage: { "message-id": "m01", "status": "ok" }
Steps to reproduce and other useful info
Using nv-websocket-client 2.4
String request="{\"request-type\":\"SetVolume\",\"message-id\":\"m01\",\"source\":\"Mic/Aux\",\"volume\":\"1.0\"}"; Log.d("RECEIVED JSON OBS API", "Request JSON: " + request); if (ws.isOpen()) { ws.sendText(request); }
Here ws is a WebSocket from the above mentioned Library.
Technical information
Windows 10 Pro 1903 OBS 64-bit 25.0.8
Development Environment
BlueJ with JDK 8