# Set Window Input Signal
This interface allows you to set the input signal for a window in a specified screen group on a device.
# API Path
{CLTPlatform-ip}:8086/processor/setWindowInputVideo
- Replace
{CLTPlatform-ip}
with the corresponding IP address. - The request port is
8086
.
# Protocol
HTTP
# Method
POST
# Request Parameter
- Set the
Content-Type
of the request body toapplication/json
.
Parameter Name | Description | Required | Type | Data Dictionary | Limit | Example |
---|---|---|---|---|---|---|
command | Command type | Yes | string | processor/setWindowInputVideo | ||
data | Data | Yes | object | |||
data >> index | Sender index (starting from 0, -1 for broadcast) | Yes | int | |||
data >> groupIndex | Screen group index | Yes | int | |||
data >> windowIndex | Window index (0 for the base layer, 1, 2, 3, 4... for subsequent sub-windows) | Yes | int | |||
data >> videoMark | Signal marker | Yes | object | |||
data >> videoMark >> slotNum | Slot number | Yes | int | |||
data >> videoMark >> sourceType | Signal type | Yes | string | HDMI2.0 | ||
data >> videoMark >> sourceIndex | Signal index (sequence number starting from 0 for the same signal on the same card) | Yes | int | |||
data >> videoMark >> sourceId | Signal ID (signal sequence number on the same card) | Yes | int |
# Request Example
{
"command": "processor/setWindowInputVideo",
"data": {
"index": 0,
"groupIndex": 0,
"windowIndex": 0,
"videoMark": {
"slotNum": 0,
"sourceType": "HDMI2.0",
"sourceIndex": 0,
"sourceId": 0
}
}
}
# Response
Parameter Name | Description | Required | Type | Data Dictionary | Limit | Example |
---|---|---|---|---|---|---|
command | Command type | Yes | string | |||
code | Status code | Yes | int | |||
message | Message | Yes | string | |||
data | Data | Yes | object |
# Response Example
{
"code": 20000,
"command": "processor/setWindowInputVideo",
"data": {},
"message": "Common_Success"
}
# Detailed Description
* 2023.11.16
1. Standardized description.