setMonitorDevice
Use the interface to set the monitor device.
Request Mode
POST/GET http://ip/V1.0/volume/setMonitorDevice?deviceId=1&deviceType=0&cardNo=0&devNo=0
Request Data
Parameter | Type | Description |
---|---|---|
deviceId | Int | The ID of audio device, which comes from /volume/getMonitorDevices |
deviceType | Int | The audio device type, which comes from /volume/getMonitorDevices |
cardNo | Int | The card number, which comes from /volume/getMonitorDevices |
devNo | Int | The device number, which comes from /volume/getMonitorDevices |
Audio Device Type
Audio Device Type | Description |
---|---|
0 | Internal device, such as Headphone Jack |
1 | External device, such as Bluetooth device and USB device |