| 说明 |
|---|
| deviceId 设备Id |
| slotId 槽位id |
| montageId 拼接源id |
| name 模板名称 |
| isUsed 是否使用0-否,1-是 |
| row 行 |
| column 列 |
| streamId 流id |
| x,y 横纵坐标 |
| width,height 宽高 |
| zorder用来表征模板的顺序 |
| id: “0-0” 代表格子位置 |
{
"body":{
"slotId":2,
"montageId":0,
"name":"csq",
"isUsed":0,
"row":2,
"column":2,
"streamList":[
{
"streamId":36,
"x":0,
"y":1080,
"width":1920,
"height":1080,
"channelName":"63_test_03",
"streamIndex":0,
"index":0
}
],
"deviceId":0
},
"sign":"MDBmZjQ1NzgxMGFjNGNhZTQ2N2U3ZTc4ODk0YTBiN2M=",
"pId":"1",
"timeStamp":"1631949094265"
}curl --location --request POST '/open/api/ipc/IPCMontageTemplateCreate' \
--header 'Content-Type: application/json' \
--data-raw '{
"body":{
"slotId":2,
"montageId":0,
"name":"csq",
"isUsed":0,
"row":2,
"column":2,
"streamList":[
{
"streamId":36,
"x":0,
"y":1080,
"width":1920,
"height":1080,
"channelName":"63_test_03",
"streamIndex":0,
"index":0
}
],
"deviceId":0
},
"sign":"MDBmZjQ1NzgxMGFjNGNhZTQ2N2U3ZTc4ODk0YTBiN2M=",
"pId":"1",
"timeStamp":"1631949094265"
}'{
"data": {},
"msg": "",
"status": 0
}