R5905948 /12 Event Master Devices 561
◦ 4 = NoSync; no video
- success: (0=success, anything else is an error)
• Example:
- {"params": {"type": 0}, "method":"listSources", "id":"1234", "jsonrpc":"2.0"}
listContent
• Definition:
- This API shows the content of a screen destination.
• Request:
- params: {"id": x}
◦ “id”—Screen destination index.
• 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"}
activateCue
• Definition:
- This API provides the option to play/pause/stop a cue.
- User can recall cue with id, serial number, or name.
• Request:
- params: {"id": 1, "type": x}, "method":"activateCue", "id":"1234",
"jsonrpc":"2.0"}
◦ id – Index of the cue
◦ type – (Default is play). x" can be : 0 — Play. 0 is the default value for the type parameter. 1 —
Pause, 2 – Stop
- params: {"cueName": "Cue1", "type": x}, "method":"activateCue", "id":"1234",
"jsonrpc":"2.0"}
- params: {"cueSerialNo": 1.00, "type": x}, "method":"activateCue", "id":"1234",
"jsonrpc":"2.0"}
• Response:
- response: null
- success: (0=success, anything else is an error)
Remote Control Protocol