R5905948 /12 Event Master Devices560
• Request:
- params: {"id": x}
- params: {"presetSno": x.y}
- params: {"presetName": "PresetName"}
• Response:
- response: null
- success: (0=success, anything else is an error)
• Example:
- {"params": {"id": 1}, "method":"deletePreset", "id":"1234", "jsonrpc":"2.0"}
- {"params": {"presetSno": 1.00}, "method":"deletePreset", "id":"1234",
"jsonrpc":"2.0"}
- {"params": {"presetName": "Preset 5.00"}, "method":"deletePreset",
"id":"1234", "jsonrpc":"2.0"}
listDestinations
• Definition:
- This API lists all the destinations with properties such as layers, outputs, id, size, and name.
• Request:
- params: {"type": x}
◦ 0—Show all the destinations.
0 is the default value for the type parameter.
◦ 1—Only screen destinations.
◦ 2—Only aux destinations.
• Response:
- response: Array of : {"ScreenDestination":[{"id": 0, "Name": "Dest1", "HSize": 3840,
"VSize": 1080, "Layers": 1,"DestOutMapColl":[{"id": 0"DestOutMap":[{"id":
0, "Name": "Out1", "HPos": 0, "VPos": 0, "HSize": 1920, "VSize":1080,
"Freeze": 0},{"id": 1, "Name": "Out2", "HPos": 1920, "VPos": 0,
"HSize": 1920, "VSize":1080, "Freeze": 1}]}]}],"AuxDestination":
[{"id": 0, "AuxStreamMode": 4}, {"id": 1, "AuxStreamMode": 4}]}"
- success: (0=success, anything else is an error)
• Example:
- {"params": {"type": 0}, "method":"listDestinations", "id":"1234",
"jsonrpc":"2.0"}
listSources
• Definition:
- This API lists all the input sources with properties.
• Request:
- params: {"type": x}
◦ 0—Show all the input sources.
0 is the default value for the type parameter.
◦ 1—Only background sources.
• Response:
- response: Array of : {"id": 0, "Name": "InSource1", "HSize": 3840, "VSize": 1080,
"SrcType": 0, "InputCfgIndex": -1, "StillIndex": 0, "DestIndex": -1,
"UserKeyIndex": -1, "Mode3D": 0, "Freeze": 1, "Capacity": 2,
"InputCfgVideoStatus": 4}
◦ SrcType: 0 = Input, 1 = StillStore
◦ InputCfgVideoStatus: Input video status
◦ 0 = Invalid; there is sync, but cannot acquire / lock
◦ 1 = Valid; Video is OK
◦ 2 = MismatchFormat; Format mismatch between input cfg and connector(s)
◦ 3 = OutOfRange; connector capacity is too low to acquire format
Remote Control Protocol