/api/aoip/matrix-info 接口
矩阵信息
请求方式
POST /api/aoip/matrix-info
返回数据
{
"status": 0,
"max-tx-channels": 22,
"max-rx-channels": 46,
"matrix": [
{
"tx-no": 0,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 1,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 2,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 3,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 4,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 5,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 6,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 7,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 8,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 9,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 10,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 11,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 12,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 13,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 14,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 15,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 16,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 17,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 18,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 19,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 20,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
},
{
"tx-no": 21,
"tx-mute": false,
"tx-volume": 0,
"mix-state": [
],
"rx-mute": [
],
"rx-volume": [
]
}
],
"uac-rx": {
"channel-num": 4
},
"stream-rx": [
{
"stream-no": "Stream1",
"stream-index": 4,
"name": "NDI",
"type": "ndi",
"channel-num": 4
}
],
"uac-tx": {
"channel-num": 4
},
"stream-tx": [
{
"stream-no": "Stream1",
"stream-index": 4,
"name": "ndi-01",
"type": "ndi",
"channel-num": 4
}
]
}
属性 | 说明 |
---|---|
status | 0:执行成功。返回其它值请参考 API 状态码。 |
max-tx-channels | 设备支持最大的TX 通道数 |
max-rx-channels | 设备支持最大的RX 通道数 |
matrix[i].tx-no | TX 通道编号 |
matrix[i].tx-mute | TX 静音 值false/true |
matrix[i].tx-volume | TX 端音量 [-36, 36], 单位dB |
matrix[i].mix-state | TX-RX连接状态: 0: 未连接 1: 连接成功 2:连接中 3:连接失败 |
matrix[i].rx-mute | TX-RX 静音 值false/true |
matrix[i].rx-volume | TX-RX音量 [-36, 36], 单位dB |
uac-rx.channel-num | UAC RX 通道数 |
live-rx[i].stream-no | 流选择 |
live-rx[i].stream-index | 流索引 |
live-rx[i].name | 流名称 |
live-rx[i].type | 流协议, 有效值srt, ndi |
live-rx[i].channel-num | 流通道数 |
uac-tx.channel-num | UAC TX 通道数 |
live-tx[i].stream-no | 流选择 |
live-tx[i].stream-index | 流索引 |
live-tx[i].name | 流名称 |
live-tx[i].type | 流协议, 有效值rtsp, srt, ndi |
live-tx[i].channel-num | 流通道数 |