getMonitorDevices
Use the interface to get monitor device list.
Request Mode
POST/GET http://ip/V1.0/volume/getMonitorDevices
Request Data
Null
Response Body
{ "monitorAudioDeivceList": [ { "audioSourceId": 0, "cardNo": 0, "devNo": 0, "deviceType": 0, "direction": 0, "id": 0, "isMic": true, "sourceType": 0 }, { "audioSourceId": 2, "cardName": "USB Capture HDMI+", "cardNo": 3, "devNo": 0, "deviceType": 1, "direction": 0, "id": 2, "isMic": true, "name": "HDMI [USB Capture HDMI+]", "sourceType": 0 }, { "audioSourceId": 2, "cardName": "C204221201227", "cardNo": 4, "devNo": 0, "deviceType": 1, "direction": 0, "id": 2, "isMic": true, "name": "C204221201227 [C204221201227] #0", "sourceType": 0 } ], "message": "SUCCESS", "status": 0 }
1. Response Status
"status": 0
Property | Description |
---|---|
status | Response status. 0: success |
message | The description of response status |
monitorAudioDeivceList | The monitor device list |
2. monitorAudioDeivceList [{...}]
"monitorAudioDeivceList": [
{
"audioSourceId": 0,
"cardNo": 0,
"devNo": 0,
"deviceType": 0,
"direction": 0,
"id": 0
},
{
"audioSourceId": 1,
"cardNo": 0,
"devNo": 0,
"deviceType": 0,
"direction": 0,
"id": 1
}
]
Property | Description |
---|---|
audioSourceId | The ID of audio source |
deviceType | The device type. 0: Internal audio device 1: External audio device |
id | The device ID |
devNo | The device number |
cardNo | The card number |