•
Response:
-
response: { "id": 0, "Name": "ScreenDest1""BGLyr":[{"id": 0, "LastBGSourceIndex":
0, "BGShowMatte":0, "BGColor":[{"id":0, "Red":0, "Green":0, "Blue":0}]},
{"id": 1, "LastBGSourceIndex": 0, "BGShowMatte":0, "BGColor":[{"id":0,
"Red":0, "Green":0, "Blue":0}]}],(0 = PGM Background, 1 = PVW Background)
"Layers":[{"id": 0, "LastSrcIdx": 0, "HPos": 0, "VPos": 0, "HSize": 400,
"VSize": 300, "PvwMode": 0, "PgmMode": 0, "Freeze": 0, "FlexZOrder":
0,"LayerTrans":[{"id": 0, "TransTime": 30, "TransPos": 0}, {"id": 1,
"TransTime": 30, "TransPos": 0}] , "3D": "Yes", "Freeze": 0, "Capacity":
2}]}]}
◦
id—index of screen destination.
◦
Name—Name of ScreenDestination.
◦
BGLyr—Background layer index, Last source index of background.
"id":0 affects the Background in Program. "id":1 affects the Background in Preview.
◦
LastBGSoureIndex—This is –1 if no background is dropped, else this is index of last background
dropped on screen destination.
◦
BGShowMatte—This is if BG to be matte or not.
◦
BGColor—This is background color.
◦
Layers—Lists layers on screen destination with its properties.
◦
Transition—This property of screen destination contains the transition time (from time to move from
preview to program).
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"id": 0}, "method":"listContent", "id":"1234", "jsonrpc":"2.0"}
3dControl
•
Definition:
-
This API provides the option to modify 3d Controls.
•
Request:
-
params: {"id" : id, "type": x, "syncSource": y, "syncInvert": z}
◦
id – Index of the input config.
◦
type – "x" can be: 0 – Type Off. 0 is the default value for the type parameter. 1 – Type Sequentia.
◦
syncSource – "y" can be: 1 – mini-Din 1, 2 – mini-Din 2, 3 – mini-Din 3, 4 – mini-Din 4. Default value
is 1.
◦
syncInvert – "z" can be: 0 – Type Off. 0 is the default value for the syncInvert. 1 – Type Invert.
◦
To reset, do not provide any parameter except "id".
•
Response:
-
response: {"id": 0, "Name": "InSource1", "HSize": 3840, "VSize": 1080,
"Src-Type": 0, "InputCfgIndex": -1, "StillIndex": 0, "DestIndex": -1,
"UserKeyIndex": -1, "Mode3D": 0, "Freeze": 1, "Capacity": 2,
"InputCfgVideoStatus": 4}
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"id": 1, "type": 0, "syncSource": 1, "syncInvert": 0},
"method":"3dControl", "id":"1234", "jsonrpc":"2.0"}
changeContent
•
Definition:
-
This API changes the content of a screen destination by putting background and layers in it.
•
Request:
-
params: {"id":0,"BGLyr":[{"id":0,"LastBGSourceIndex":0,"BGShowMatte":0,
"BGColor":[{"id":0,"Red":0,"Green":0,"Blue":0}]},{"id":1,
"LastBGSourceIndex":0,"BGShowMatte":0,"BGColor":
[{"id":0,"Red":0,"Green":0,"Blue":0}]}],"Layers":
[{"id":0,"LastSrcIdx":0,"Window":
{"HPos":0,"VPos":0,"HSize":400,"VSize":300},
Remote Control Protocol
R5909934 /00
E2 Lite and EC-40
309