setVolume
Use the interface to set audio volume.
Request Mode
POST/GET http://ip/V1.0/volume/setVolume?type=0&volume=0
Request Data
| Parameter | Type | Description |
|---|---|---|
| type | Int | The audio type |
| volume | Int | The dB value of audio, ranging from -40 to 10 |
Audio Type
| Audio Type | Description |
|---|---|
| 0x0001 | Monitor |
| 0x0003 | Program |
| 0x0700 | HDMI 1 |
| 0x0800 | HDMI 2 |
| 0x0200 | Microphone |
| 0x0002 | Video Clip |
| 0x0300 | Bluetooth |
| 0x0600 | BGM |